Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Grip program to export objects in a layer

Status
Not open for further replies.

hegdedin

Automotive
Sep 23, 2007
16
0
0
IN
Hi,

How can I write a GRIP program to export all the objects in an user specified layer to a new UG part file?

Thanks in advance,

Dinni
 
Replies continue below

Recommended for you

You'll have to first cycle the entire part file (using the 'NEXTE/' statement) and creating a list of all the objects on the layer of interest (using the '&LAYER' EDA statement) and then once you have that list, you can export them to a specified part file (using the 'CPATT/' statement).

John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA

To an Engineer, the glass is twice as big as it needs to be.
 
Status
Not open for further replies.
Back
Top