TheSwamp
Code Red => VB(A) => Topic started 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.
-
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:
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...
-
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!
-
I can't copy my exact code here...
Booooo!!!
Let me rephrase that then... I can't copy my employers code here... :angel:
-
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?
-
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
-
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.
-
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
-
Of course it is. BCFTW.
-
Of course it is. BCFTW.
BCFTW = Birth Control For The Win?
https://www.urbandictionary.com/define.php?term=bcftw
-
BCFTW-YO (http://tinyurl.com/bcftw-yo)