Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sectioning tools in API

5 REPLIES 5
Reply
Message 1 of 6
JohnHon
1634 Views, 5 Replies

Sectioning tools in API

Dear all,

 

Is there a function that can enable the X,Y,Z coordinates tool for setting the sectioning box?

 

Also, is sectioning only called in COM Api?

 

Thanks,

John

5 REPLIES 5
Message 2 of 6
xiaodong_liang
in reply to: JohnHon

Hi,

 

yes, only COM API exposed sectioning ability

http://adndevblog.typepad.com/aec/2012/08/create-sectioning-plane.html

 

Sorry, no such API to enable the coordinate XYZ currently, but with the new API ToolPlugin in 2014, you may be able to implement it.

 

http://adndevblog.typepad.com/aec/2013/06/navisworks-2014-api-new-feature-toolplugin.html

 

 

Message 3 of 6
JohnHon
in reply to: JohnHon

Thanks Xiaodong.Smiley Happy

 

Is it possible to create sectioning by section box like the below link?

I have tried it but it seems it doesn't work. 

http://forums.autodesk.com/t5/Autodesk-Navisworks-API/How-to-enable-sectioning-in-viewer/m-p/3201484...

 

Moreover, can I activate the control in the image by the Api?

 

Thanks again for your help.

 

Best regards,

John

Tags (1)
Message 4 of 6
xiaodong_liang
in reply to: JohnHon

Hi JohnHon,

 

Box sectioning is a kind of conception in the previous releases (typically before ribbon interface).  Since Navisworks 2011, no Box any more. The "Box" ability you see is actually 6 sectioning planes. SetRange in the the thread you mentioned is a bit confused. It sets the range over which clipping planes can move, not the size/position of the clipping Box. So, you could use API to implement your own "Box" by enabling 6 sectioning planes.

 

As to the second question, sorry I do not understand what you meant by "activate the control in the image" . The snapshot shows you are interested in the HUD?

 

 

 

 

Message 5 of 6
JohnHon
in reply to: xiaodong_liang

Hi Xiaodong,

 

Thanks for replying my question again. ^___^

I am sorry that I don't understand the usage of SetRange, could you give me some sample code for the SetRange?

 

Sorry for my ambiguous words. I am interested in how to show the XYZ Axes in HUD by the means of Api.

 

Best regards,

John

Message 6 of 6
xiaodong_liang
in reply to: JohnHon

Hi John,

 

I meant "SetRange" is NOT for"Box Sectioning". You need to use enable 6 planes to mimic "Box Sectioning". If you are interested in usage of "SetRange", the other thread my colleague replied showed some code.

http://forums.autodesk.com/t5/Autodesk-Navisworks-API/How-to-enable-sectioning-in-viewer/m-p/3201484...

 

As to  how to show the XYZ Axes in HUD by the means of Api, sorry, I do not find a way.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report