Author Topic: Sheet Set Manager - Custom Sheet Set Property  (Read 3168 times)

0 Members and 1 Guest are viewing this topic.

rkmcswain

  • Swamp Rat
  • Posts: 978
Sheet Set Manager - Custom Sheet Set Property
« 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 but it kind of died. (Thanks to those who contributed there...)
Hopefully someone here has tackled this task before....

LE

  • Guest
Re: Sheet Set Manager - Custom Sheet Set Property
« Reply #1 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

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: Sheet Set Manager - Custom Sheet Set Property
« Reply #2 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.

LE

  • Guest
Re: Sheet Set Manager - Custom Sheet Set Property
« Reply #3 on: January 06, 2007, 11:15:42 AM »
Great!