Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

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

Check if drawing exist

Status
Not open for further replies.

RSilva

Mechanical
Joined
Jun 23, 2017
Messages
35
Location
PT
Hello

I have an journal that create drawing sheets, the problem is when i try create a sheet with an name which already exists, the journal create an new sheet without name.
There are any code to check all existing sheets?

 
Every part has a .DrawingSheets collection that you can iterate; this will give you access to all existing drawing sheet objects. As you iterate through the sheets, you can check the .Name of each. If the name already exists in the collection, you can use the existing named sheet or create a new sheet with a different name.

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

Part and Inventory Search

Sponsor

Back
Top