# DGNImport Option set via code

**URL:** <https://forum.techsoft3d.com/t/dgnimport-option-set-via-code/2260>\
**Category:** Autodesk OEM\
**Created:** [June 29, 2023, 10:19am UTC](https://forum.techsoft3d.com/t/dgnimport-option-set-via-code/2260 "2023-06-29T10:19:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbergh](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@rbergh](https://forum.techsoft3d.com/u/rbergh)\
**Post date:** [June 29, 2023, 10:19am UTC](https://forum.techsoft3d.com/t/dgnimport-option-set-via-code/2260/1 "2023-06-29T10:19:55Z")

</div>

Hi Guys,

I need some help I am importing DGN files via code but I need one option changed

 ![Screenshot 2023-06-22 132239](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/7/76b3b66b8d79ff7d5869bebfdbf8182f9c41c1d3.png)

I tried seeing if this is a System Variable but I am unable to find it. Where else can I check if this option is true or false via code ?

Thanks

---

<div class="post-metadata">

**Author:** ![shawn.g](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.techsoft3d.com/shawn.g/32/482_2.png) [@shawn.g](https://forum.techsoft3d.com/u/shawn.g)\
**Post date:** [July 17, 2023, 9:46pm UTC](https://forum.techsoft3d.com/t/dgnimport-option-set-via-code/2260/2 "2023-07-17T21:46:19Z")

</div>

Riann,  
That setting is stored in the DgnSetups.ini file located here (just adjust path to correspond to your year of AutoCAD):  
C:\Users%username%\AppData\Roaming\Autodesk\AutoCAD XXXX\RXX.X\enu\Support  
The setting will look like this:  
ExplodeTextNode=1

Shawn Golden  
Microvellum

---

<div class="post-metadata">

**Author:** ![rbergh](https://avatars.discourse-cdn.com/v4/letter/r/5fc32e/32.png) [@rbergh](https://forum.techsoft3d.com/u/rbergh)\
**Post date:** [July 20, 2023, 7:44am UTC](https://forum.techsoft3d.com/t/dgnimport-option-set-via-code/2260/3 "2023-07-20T07:44:54Z")

</div>

Thanks Shawn, works like a charm.
