How to get access to UIApplication from dockable panel to import dwg in current document?

How to get access to UIApplication from dockable panel to import dwg in current document?

ShapeForm
Explorer Explorer
258 Views
1 Reply
Message 1 of 2

How to get access to UIApplication from dockable panel to import dwg in current document?

ShapeForm
Explorer
Explorer

Hi, I'm trying to make an extension with dockable panel. I use it to enter parameters with file and to send them to server. Then i want to import file that came from server into current document. For now I am able to just save it in some folder. Is it actually possible to import it by i dont know like pushing another button on dockable panel? As i understood my dock panel doesn't have access to UIApplication, i tried some solutions i was able to find, but none of them actually worked( Maybe anyone knows a working method??

 

 

0 Likes
259 Views
1 Reply
Reply (1)
Message 2 of 2

naveen.kumar.t
Autodesk Support
Autodesk Support

Hi @ShapeForm ,

 

Could you please take a look at the link below?
https://thebuildingcoder.typepad.com/blog/2025/03/access-uiapplication-and-bounding-box-on-sheet.htm... 


Naveen Kumar T
Developer Technical Services
Autodesk Developer Network

0 Likes