Author Topic: How to bind the Field with the sheet set's some components?  (Read 2304 times)

0 Members and 1 Guest are viewing this topic.

Andrey Bushman

  • Swamp Rat
  • Posts: 864
How to bind the Field with the sheet set's some components?
« on: November 27, 2013, 11:11:44 AM »
  • How to bind the Field with the value of the AcSmCustomPropertyValue?
  • How to bind the Field with the some component of Sheet Set through its IAcSmObjectId? For example to link with the subset's (AcSmSubset) name, or with the custom property.
Thank you.
« Last Edit: November 27, 2013, 11:32:56 AM by Andrey »

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: How to bind the Field with the sheet set's some components?
« Reply #1 on: December 10, 2013, 02:08:03 AM »
I found the solution. Maybe it will interesting to anybody:
Code: [Select]
%<\AcDiesel $(nth, 0, "Expressed value", "Description", "CompanySite", "AssemblyName", "ClassName", "MethodName", "ParameterValue")>%With this info I can:
  • Get the assembly.
  • Get the Class for the value expressing.
  • Get the Method for the value expressing.
  • Get the Argument for the value expressing.
  • Get the developer's site.
  • Write the expressed value as a String value.

The Reflection can help me. For example, I can use it for getting (programmatically) the Subset custom property's value in the SheeSet and display the result as a Field in the some text.
« Last Edit: April 11, 2014, 08:43:49 AM by Andrey Bushman »