I want to create block insertpoint mtext with alignment station and elevation ,how to do it?

like picture . help me please 。


云冈雨污分流二期道路建设工程平泉路地形图.dwg (7.0 MB)
沿道路布置雨水口.dyn (342.9 KB)

Hi
What have you tried so far? Could you please share your dyn-file and a example dwg
KR,
Patrick

1 Like

Hi @liujingxin123, Could you please describe your goal in more detail? If you have any Dynamo graphs you’ve created so far, please attach them.

1 Like


I got here

Hi, this can help you to round the number String from Object with formatting
for adding “KO+” use “+” node.

Something to play with and what I could fix on short notice
In the script you will get the station and offset values for each block, I created a new offset value with a offset of 0.25 units. Not sure what unit you use so you mig need to adjust it if it’s not in meters.
Use these values as a input to create coordinatesystem.stationoffset and extract the coordinates for the point from the coordinate system.
create block insertpoint mtext with alignment station and elevation.dwg (7.1 MB)
create block insertpoint mtext with alignment station and elevation.dyn (46.8 KB)

There might of course be a better way but had to send you something to start with.

1 Like