MicroStation Programming Files - ItemType EC Expressions
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Document

ItemType EC Expressions

by
Robert Hook
Expert
Created:

Itemtype EC Expressions.pdf

615.71 KB

MicroStation CONNECT SDK Developer Training (LEARN Path) Topic: EC ItemType API Overview (PDF, Video) ItemType EC Expressions (PDF, Video) ItemType Picklists (PDF, Video)


BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
2 Comments (Latest comment by
Mark Stefanchuk
)

I am currently working in OpenRoads SDK Update 8, 10.08.01.33, C#, and would like to take advantage of CustomProperty.SetExpression.

In what MicroStation version/update was this first available? Is the API available in OpenRoads update 8?

In my library create function I would like to do this...

CustomProperty property = itemType.AddProperty("Length");
property.Type = CustomProperty.TypeKind.String;
property.SetExpression("this.GetElement().LinearElement_Length");

But CustomProperty does not contain SetExpression. Do I need to reference something other than Bentley.ECObjects3?