Retrieve all the dimension objects in drawing using NXOpen ?
Retrieve all the dimension objects in drawing using NXOpen ?
(OP)
Hi Everyone,
Can someone please let me know how can i retrieve all the existing dimension data/values in my drawings using NXOpen(For ex : Annotation Origin , Associativity Objects Name , Type of dimension , Associated view name, Append Text if any etc)
Thanks,
Amitabh
Can someone please let me know how can i retrieve all the existing dimension data/values in my drawings using NXOpen(For ex : Annotation Origin , Associativity Objects Name , Type of dimension , Associated view name, Append Text if any etc)
Thanks,
Amitabh





RE: Retrieve all the dimension objects in drawing using NXOpen ?
CODE
Look up the Annotation and Dimension classes in the help file. You can get most (if not all) of the information you are looking for here.
www.nxjournaling.com
RE: Retrieve all the dimension objects in drawing using NXOpen ?
I have figured out how to retrieve most of the data using your code , but am struggling to retrieve the user defined symbol related data as i do not see any user defined symbol collection. Kindly help.
Regards,
Amitabh
RE: Retrieve all the dimension objects in drawing using NXOpen ?
CODE -->
www.nxjournaling.com
RE: Retrieve all the dimension objects in drawing using NXOpen ?
I tried your approach but as the symbols in my drawing are all user defined and not ug defualt custom symbols i am not able to retrieve them using the CustomSymbols collection.
I did not find a user defined symbol collection in the help file.
Please help.
Regards,
Amitabh
RE: Retrieve all the dimension objects in drawing using NXOpen ?
RE: Retrieve all the dimension objects in drawing using NXOpen ?
Thanks,
Amitabh