Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep 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
Jun 23, 2017
35
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?

 
Replies continue below

Recommended for you

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