I want to make a PlacePointOp operation to insert a cell feature.
but how can i set the cell 's scale value by xft.CellParams object?
is there any other way ?
I personally have not tried this but what about using the xft.feature.geometry object. This returns a Microstation Element object.
HTH
Jerry
There is no way to set the scale in the CellParams object. Set your scale in the Feature Definition's Symbology in your schema. If you want to further scale the feature after placement, then you can use xft.ScaleOp. For examples of ScaleOp, search Map\vba\xfmStdOpsLib.mvba. In geo_example_designer, the Tree feature's placement method performs a placement operation immediately followed by a scale operation.
Regards,
Chris
Thank you Jerry!
I use the xft.PlacePointOp Object, So it can not return the feature's geometry before call the fucntion "PlacePointOp .AddFeatureToGenerate".
sphinxo: In the Symbology Panel, I set the CellXScale value to "1.0",But when i Insert the cell .why is the cell's x scale 4800?
In Cell Symbology panel, do you have "ApplyDrawingScale" toggled on or are you using "OverrideScale"?