TheSwamp

Code Red => VB(A) => Topic started by: rkmcswain on January 05, 2007, 05:39:04 PM

Title: Sheet Set Manager - Custom Sheet Set Property
Post by: rkmcswain on January 05, 2007, 05:39:04 PM
Working with the SSM API and it's lack of documentation....

Trying to query a custom "sheet set" property (as opposed to a "sheet" property).

The following code works for "sheet" properties, but fails if you try and query a "sheet set" property.

Any thoughts?

Code: [Select]
Dim allProps As AcSmCustomPropertyBag
Set allProps = mySheetSet.GetCustomPropertyBag
 
Dim aPropValue As AcSmCustomPropertyValue
Set aPropValue = allProps.GetProperty("Sheet Total Starting Number")

BTW: for those reason this for reference, the "GetProperty" argument appears to be case-sensitive.

I started a thread on the adsk ng's (http://discussion.autodesk.com/thread.jspa?threadID=531495) but it kind of died. (Thanks to those who contributed there...)
Hopefully someone here has tackled this task before....
Title: Re: Sheet Set Manager - Custom Sheet Set Property
Post by: LE on January 05, 2007, 06:06:18 PM
I have done very little about this api using objectARX, have a look at the samples available on Jimmy B. site, HTH

Here:

http://jtbworld.blogspot.com/2006/04/sheet-set-manager-code-snippets.html
Title: Re: Sheet Set Manager - Custom Sheet Set Property
Post by: rkmcswain on January 06, 2007, 07:54:32 AM
I have done very little about this api using objectARX, have a look at the samples available on Jimmy B. site, HTH

Here:

http://jtbworld.blogspot.com/2006/04/sheet-set-manager-code-snippets.html

Thanks, I had seen this post http://jtbworld.blogspot.com/2005/01/sheet-set-manager-api-code-sample-for_20.html , but not the one you posted. Not sure how I missed it  :oops:

Thanks again - exactly what I needed.
Title: Re: Sheet Set Manager - Custom Sheet Set Property
Post by: LE on January 06, 2007, 11:15:42 AM
Great!