Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I loop through parallelism and surface finish annotations in NXOpen? 1

Status
Not open for further replies.

vinaykeerthi

Aerospace
Joined
Feb 8, 2016
Messages
4
Location
SE
Hi,

I've just started NXOpen coding through VB and I managed to loop through the dimensions and extract tolerances using
For Each temp_dimension as Annotations.Dimension in workPart.Dimensions

However, I see that the parallelism constraint as well as surface finish detail do not appear in these. What do I need to loop through to access all of those notations as well as the textual annotations in a drawing?


Capture_am6rkk.png
 
{part}.Annotations.Fcfs (feature control frames)
{part}.Annotation.DraftingSurfaceFinishSymbols
{part}.Notes

You will find many collections within the Annotation manager of the part; such as ID symbols, custom symbols, centerlines, etc.

www.nxjournaling.com
 
Thanks a lot! I was able to loop through the feature control frame and the drafting surface finishes easily. However, I'm having trouble with the Balloon Notes. I can't seem to loop through them using the PmiManager. Is there some other collection I'm supposed to look at?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top