Hi,
what is wrong: I want to open the expression builder window and I get this:
no builder window opens
Open BuildingsDesigner u8
regards Rik
The error message is complaining about array access. I agree that it could be more meaningful: the way it's written appeals only to programmers. However, you have set the Item Type property Is Array to false, so it's unclear why MicroStation popped that message.
Had you already started to edit the Expression? What happens when you click OK in that message box?
Regards, Jon Summers LA Solutions
.... no popup box appears.....
if I set " 1+1" in the expression area, then the expression is showing the result in the properties window,
but I do not know haw to get the surface area for a shape to calculate with.... so the builder is necessary
RikR said:I do not know haw to get the surface area for a shape
It's an element property. This expression gets that property: this.GetElement().Area, where this means the Item Type instance and this.GetElement() retrieves the DGN element that owns the instance.
this.GetElement().Area
this
this.GetElement()
MasterPlanner uses the above as part of an expression to calculate the number of buildings per plot. Here's an example DGN file that contains an Item Type named MasterPlanner. The definition of property Building Count contains the expression ...
MasterPlanner 01.dgn
RikR said:... no popup box appears...
Now I'm confused. Your first screenshot shows a modal dialog.