Hi. Apologies if this has been covered before, I was unable to find the answer.
I would like to know if its possible to access the "In 3D" property through the API. I am using the line
NWControl01.State.URLsEnabled = True
to allow a user to click a button to show the hyperlinks on the drawings and want to set the links to be "in 3D" so that they dont show through elements of the 3d model.
Any help appreciated.
Maybe export the global settings on a computer where everything is correct
and import the glogal settings trough API on all computers running the API ?
You can firstly get the global properties from state like" state.globalProperties()", then set the property of global properties "URLs3dMode" to false.
For more detail information, please refer to InwOpState3::GlobalProperties and InwGlobalProperties::URLs3dMode in COM api help document.
Dony
thanks Dony. I think i alerady tried this but i tried again anyway and i get this message:
Object doesn't support this property or method:
NWControl01.state.URLs3dMode
Thank you for your question.
We don’t provide answers or support for API-related questions. This is the domain of ADN (Autodesk Developer Network). Please ask your questions in ADN website (www.autodesk.com/adn).
-Reed
Can't find what you're looking for? Ask the community or share your knowledge.