Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

NX9 - Journal help ..... again

Status
Not open for further replies.

Kenja824

Automotive
Nov 5, 2014
949
Sorry. I suck with Journal code.

I recorded a journal to edit object display, filer by selected layers (1, 18-184, 190-195, 221-229), filter to select Solid bodies, sheet bodies, faceted bodies and components (dont want any curves or drafting notes or anything selected) I clicked on "Select All", and change the line to solid lines with a .35 thickness.

When I open the journal I recorded, it doesnt give any info on the layer filter or type filter. Instead it shows each body and file that was selected. How do you write the code to do an Edit Object Display by those filters that will work on whatever assembly or single detail you open?
 
Replies continue below

Recommended for you

You have to do your own filtering for stuff like this. I'd suggest iterating through the components and bodies, checking the layer of each. Add each object that meets your criteria to a list and finally change the display options on all those items in the list.

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

Part and Inventory Search

Sponsor