Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
ed.Command("-Insert", "AUTOCRDS", coordMarkPosition, 1, 1, 0);
I wat to insert a block in my drawing with name "AUTOCRDS" at position coordMarkPosition which is Point2d, now i have used ed.Command method to insert a block at coordMarkingPosition with x and y scale values 1 and rotation angle 0, now the block has two attributes "NORTHING" and "EASTING" which takes values of x and y coordinates of coordMarkPosition as shown in image, after running this code, i want to manually click ok after that the block get inserted, how to automate it?
Solved! Go to Solution.