Switchback API

Switchback API

Anonymous
Not applicable
897 Views
5 Replies
Message 1 of 6

Switchback API

Anonymous
Not applicable

I want to implement SwitchBack functionality throgh API. I need to SwitchBack .dwg files to AutoCAD. How can I impement it.

Is there any API for it where I can supply file name with full path and it will get open in AutoCAD.

 

Thanks

0 Likes
898 Views
5 Replies
Replies (5)
Message 2 of 6

Aaron.Lu
Autodesk
Autodesk
Dear, I'm not sure what SwitchBack look like, I assume you want to open a dwg file in Naviswork plugin, so the suggestion is, you can use Process.Start method, like this:


System.Diagnostics.Process.Start(autoCadPath, dwgFilePath);


Aaron Lu
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 3 of 6

Aaron.Lu
Autodesk
Autodesk
I now know what is "SwitchBack", sorry for misleading.
After consulting with navsiworks developer, the quick answer is there is no API for this function.


Aaron Lu
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 4 of 6

Aaron.Lu
Autodesk
Autodesk
May I wonder why you want to do that via API? is the UI feature not enough?


Aaron Lu
Developer Technical Services
Autodesk Developer Network
0 Likes
Message 5 of 6

Anonymous
Not applicable

Thanks Aron, 

Actually we want to implement SwitchBack functionality through our User Interface, so we need that API.

Anyway if it is unavailable then we are helpless.

0 Likes
Message 6 of 6

s33wagz
Explorer
Explorer

https://www.autodesk.com/autodesk-university/class/Make-NavisWORK-You-Intro-Navisworks-API-2018#vide...

 

go to 40:00 and check out the plugin they created for applying transformations from Navis Manage to Revit.

 

Its a bit of a hack but thats kinda fun imo.

0 Likes