Share

IiProperties.InstanceExpression Property

Gets or sets the expression of an instance property on a component occurrence. If you set the expression of an instance property that does not already exist, it will be created.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0

Syntax

VB

Property InstanceExpression ( 
	componentName As Object,
	propertyName As String
) As String
	Get
	Set

C#

string this[
	Object componentName,
	string propertyName
] { get; set; }

Parameters

componentName
Type: System.Object
The component name.
propertyName
Type: System.String
The name of the instance property.

Property Value

Type: String
The property expression.

Remarks

Sample code:

iProperties.InstanceValue("PartX:5", "Column") = "B"
iProperties.InstanceValue("PartX:5", "Row") = "2"
iProperties.InstanceExpression("PartX:5", "Cell position") = "=<Column><Row>"
Dim partX1Expression = iProperties.InstanceExpression("PartX:5", "Cell position")

See Also

Reference

Was this information helpful?