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!

Check drawings in Component - NXOpen

Status
Not open for further replies.

basenxuser

Mechanical
Joined
Sep 27, 2007
Messages
69
Location
IN
Hello All,

Can anyone tell me whether the drawing sheet count can be found without loading the component fully in an assembly?
This is to find whether the part has drawings or not. Here the assembly is opened from local folder and not from TeamCenter.

Regards,
basenxuser
 
The command line utility "ug_inspect" can be used to see if the part has a drawing or not. When run with the default option, the first thing reported is the "non empty entity type chains"; if "Drawing" (type 62) shows up in the list, the part has a drawing with 1 or more sheets. I don't think that it will tell you the sheet count, but you can discern whether or not the part contains a drawing. This is a command line utility that returns the output to the stdout stream. If you are writing a journal or program, you can start this utility programmatically, pass in the required parameters, and parse the output to determine what type of objects the file contains.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top