TheSwamp

Code Red => VB(A) => Topic started by: Guest on January 03, 2007, 03:36:16 PM

Title: Renumber Sheet Set
Post by: Guest on January 03, 2007, 03:36:16 PM
Has anyone played around with renumbering sheets in Sheet Set Manager (like in the image below)?  What I'm 'hoping' I can do is renumber all sheets from the top of the sheet set on down starting with 01.  Does anyone know if it's possible and could you point me in the right direction?

Thanks.
Title: Re: Renumber Sheet Set
Post by: rkmcswain on January 05, 2007, 05:31:26 PM
Has anyone played around with renumbering sheets in Sheet Set Manager (like in the image below)?  What I'm 'hoping' I can do is renumber all sheets from the top of the sheet set on down starting with 01.  Does anyone know if it's possible and could you point me in the right direction?

Thanks.

What a coincidence... I just got through completing this very thing.

I can't copy my exact code here, but I can get you pointed in the right direction.

Go to http://discussion.autodesk.com/thread.jspa?threadID=385447 , and scroll down to a reply from Mike Tuersley made on Feb/25/05 - 04:13 (GMT).

The code he posted in that message is a good start.

In the "LoopThruSheets" sub, replace the three "Debug.Print" lines with the actual code that will renumber the sheets, which will look something like this:

Code: [Select]
Dim u As String
u = CStr(i)
ssmSheet.SetNumber u
i = i + 1

Note: you will need a global integer variable "i" that is initially set to the number of the first sheet (typically 1)

After completing this, we're able to renumber a 125 sheet set in about 1 second.  :-D

If you get stuck, post back...
Title: Re: Renumber Sheet Set
Post by: Guest on January 05, 2007, 08:44:27 PM
Quote
I can't copy my exact code here...
Booooo!!!

Thanks for the link.   I'll sneak a peek on Monday.  If I run into any snags, I'll be sure to post back.


Thanks again!
Title: Re: Renumber Sheet Set
Post by: rkmcswain on January 06, 2007, 07:46:51 AM
Quote
I can't copy my exact code here...
Booooo!!!

Let me rephrase that then... I can't copy my employers code here...  :angel:
Title: Re: Renumber Sheet Set
Post by: butzers09silverado on May 06, 2010, 12:17:30 PM
I would really like to use this, but I'm not certain how to run this routine?  Where is the command in that routine to initiate the lisp?
Title: Re: Renumber Sheet Set
Post by: jvillarreal on May 11, 2010, 08:36:26 AM
http://au.autodesk.com/?nd=class&session_id=1206 (http://au.autodesk.com/?nd=class&session_id=1206)
This link should be helpful.
"Filling the Gaps in the Sheet Set Manager" by R. Robert Bell.
Code provided
Title: Re: Renumber Sheet Set
Post by: rkmcswain on December 10, 2010, 12:37:30 PM
Has anyone done any work in .NET on this for 64-bit AutoCAD?
My understanding is that the SSM API will not work in VBA for 64-bit.
Title: Re: Renumber Sheet Set
Post by: rkmcswain on April 18, 2018, 09:19:07 AM
I know this is an old thread, but just wanted to say that renumbering sheets in a sheet set is built into BricsCAD.

Ref: https://twitter.com/cadpanacea/status/986594336354852865

Title: Re: Renumber Sheet Set
Post by: MP on April 18, 2018, 09:32:37 AM
Of course it is. BCFTW.
Title: Re: Renumber Sheet Set
Post by: Jeff H on April 19, 2018, 10:06:06 AM
Of course it is. BCFTW.
BCFTW = Birth Control For The Win?
https://www.urbandictionary.com/define.php?term=bcftw
Title: Re: Renumber Sheet Set
Post by: MP on April 19, 2018, 10:52:45 AM
BCFTW-YO (http://tinyurl.com/bcftw-yo)