To create the program has helped me
Lee Mac, having disagreed to make concessions to geodesists in the remarkable program
Point Manager , by the way a part of ideas it is borrowed at it.
1) Save as … is specified where to save the data
2) Select by… the sample of object (Entity) which data is specified it is necessary to receive, after that all objects (Entity) on the drawing will be selected, similar specified as the sample, namely the same type, colour and a layer, following types of objects (Entity) are accessible: Line, LWPolyline, 3DPolyline, MLine, Spline, Text, МText, Block, Circle, Point. (If necessary the list I can expand …)
3) Select from … an interactive selection of objects (Entity) from selected earlier by the sample.
4) Delimitr can be chosen from offered or to enter the user's
5) Number
- Default 1 -> 1,2,3,…,n.
- user's format of input: *#*, where * - any quantity of letters, before # - a prefix, after # - a suffix, # - number (any quantity of numeral), an example tr235ort-> tr235ort, tr235ort, …, tr(235+n)ort.
- TextString (the Text is accessible only to objects (Entity) type and МТext) as number will be used text contents.
- The list of names of attributes (it is accessible to objects (Entity) type Block) as number it is possible to choose contents of one of attributes, at presence in the block of attribute with a name «№», it will be automatically offered by default.
6) Altitude- Coordinate Z Z coordinate of object (Entity).
- user's format of input: material (valid) number.
- TextString (the Text is accessible only to objects (Entity) type and МТexst) as a Altitude will be used text contents.
- The list of names of attributes (it is accessible to objects (Entity) type the Block) as a mark it is possible to choose contents of one of attributes, at presence in the block of attribute with a name «H», it will be automatically offered by default.
7) Description- Not required falls, no.
- user's format of input: anything you like ☺.
- TextString (it is accessible only to objects (Entity) type Text and МText) as the description text contents will be used.
- The list of names of attributes (it is accessible to objects (Entity) type the Block) as the description it is possible to choose contents of one of attributes, at presence in the block of attribute with a name «COD», it will be automatically offered by default.
8 )□To Sign Number, the Altitude or the Description on the drawing (it is not accessible to objects (Entity) of type: the Text, Mtekst and the Block with attributes)
Test it…
I wait for responses and suggestion.
The near future the return program on import of coordinates in AutoCAD from a file will be written
To whom the code is interesting, look
LSP and
DCL to whom the program is interesting use already compiled
VLX a file which lies in
ZIP archive
Bookmarks