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
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
Thanks Xiaodong.
Is it possible to create sectioning by section box like the below link?
I have tried it but it seems it doesn't work.
Moreover, can I activate the control in the image by the Api?
Thanks again for your help.
Best regards,
John
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?
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
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.
As to how to show the XYZ Axes in HUD by the means of Api, sorry, I do not find a way.