Acad2005 Sheet Set name and path?

Acad2005 Sheet Set name and path?

Anonymous
Not applicable
135 Views
0 Replies
Message 1 of 1

Acad2005 Sheet Set name and path?

Anonymous
Not applicable
Greetings,

How do you get the name and path of currently opened sheet sets?
I copied the example sheet set dvb provided with 2005 and appended the following code in a new sub.

Dim sheetset As New sheetset
Dim ssMgr As New AcSmSheetSetMgr
Dim dbIter As IAcSmEnumDatabase
Dim db As IAcSmDatabase

Set dbIter = ssMgr.GetDatabaseEnumerator
Set db = dbIter.Next

Do While Not db Is Nothing
frm1.ComboBox1.AddItem db.GetName 'this is wrong - results in an empty string!
Set db = Nothing
Set db = dbIter.Next
Loop

Thanks,

Kevin.
0 Likes
136 Views
0 Replies
Replies (0)