.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Open Sheet Set in Sheet Set Manager

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
ChrisPicklesimer
1179 Views, 3 Replies

Open Sheet Set in Sheet Set Manager

ACA 2012

 

I understand how to create/open a sheet set so that I am able to do things such as add pages and subsets, modify properties, rename and renumber pages, etc.  However, when I open the sheet set progrmatically, it does not show up as open in the sheet set manager.  Is it possible to have an open sheet set display as one of the open sheet sets in the SSM?

 

Dim sheetSetManager AsIAcSmSheetSetMgr sheetSetManager =NewAcSmSheetSetMgr

 

Dim sheetSetDatabase AsAcSmDatabase sheetSetDatabase = sheetSetManager.CreateDatabase(myNewFile, myTemplate, True)

 

sheetSetManager.OpenDatabase(myNewFile, False)

 

Thanks.

 

Chris

 

 

 

3 REPLIES 3
Message 2 of 4

Hi, Chris,

 

the only way I found is open Sheet Set in command line.

 

Here is example on C#:

Application.DocumentManager.MdiActiveDocument.SendStringToExecute(".-opensheetset \"" + _fullFileName + "\"\n", true, false, false);

Message 3 of 4

Thanks!  That does exactly what I need.

Message 4 of 4

Hi Chris,

You can use below code for to open SheetSet manager from C#

 

string FullPath  = "C:\\Siva\\Sivakumar\\Software\\AutoCad\\POC\\SheetSet\\Demo007.dst";

cadApp.ActiveDocument.SendCommand(".-opensheetset \"" + FullPath + "\"\r");

 

Thanks

Sivakumar N

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost