Hello,
I have defined, in Geospatial Administrator, a linestring feature. But I want to create/draw it in a special way. I have written my own MDL command supporting drawing orthogonal buildings process. And now I'd like to combine standard feature creating tool with this command. In other words, the result I need is to have a command that creates a feature drawn using my MDL function. Where should I call this command?
Myzzard
Hello Myzzard,
In geo_example schema, take a look at the GasMain feature where there are a number of GasMain placement methods. See method "Place(MDL)" which starts keyin "place gasmain" when the method is activated. Also see method "Place(MDL Handler)" which is an example of a custom MDL procedure which uses the same setup as other XFM standard MDL procedures. The MDL source is in mdl\examples\gasmain\.
Regards,
Chris
Chris,
I can always bank on you! Thanks a lot. These examples were very helpful for me.
Mariusz
One another question...
I have defined my command like in geo_example.xml Place(MDL) for GasMain feature.
How can I get an operation's property in MDL? I have one property defining width of buffer rectangle that I draw. And I want to catch it in MDL while creating a feature.
Hello Mariusz,
Use the xfmPropMgr_getPropertyXXX functions to get an operation property value.
I have also used Place (MDL Handler) example command and created my own function inserting an ellipse element by two points.
This example shows how to create a feature, but I want to add an annotation text after that. How can I do it? How to complete my function to call annotation command?