+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
  1. #1
    Senior Member Geobuilder's Avatar
    Computer Details
    Geobuilder's Computer Details
    Operating System:
    Windows 7 Professional
    CPU:
    Intel(R) Corel(TM) i7 860 @ 2.80GHz 2.80 GHz
    RAM:
    8 GB DDR2
    Graphics:
    NVIDIA GeForce GTS 250 (Microsoft Corporation - WDDM v1.1)
    Monitor:
    22 "
    Using
    AutoCAD 2013
    Join Date
    Jan 2010
    Location
    Russia, Siberia
    Posts
    205

    Default Export coordinates (both Geodetic and Mathematical)

    Registered forum members do not see this ad.

    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
    1. Default 1 -> 1,2,3,…,n.
    2. 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, tr236ort, …, tr(235+n)ort.
    3. The nearest text, as numbers will be used nearest to the object of the text, and any content, but also the choice of the mode "nearest text" for Altitude, text format #. #, Where # is any number of digits. - A dot or a comma, will be reserved for the notes and will not be used for Number
    4. TextString (the Text is accessible only to objects (Entity) type and МТext) as number will be used text contents.
    5. 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
    1. Coordinate Z Z coordinate of object (Entity).
    2. user's format of input: material (valid) number.
    3. The nearest text as Altitude will be used nearest to the object of the text format #. #, Where # is any number of digits. - A dot or a comma.
    4. TextString (the Text is accessible only to objects (Entity) type and МТexst) as a Altitude will be used text contents.
    5. 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
    1. Not required falls, no.
    2. user's format of input: anything you like .
    3. TextString (it is accessible only to objects (Entity) type Text and МText) as the description text contents will be used.
    4. 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 ) SignTo 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)
    9) coordinates
    • tick- Geodesic, X↑ Y→
    • none - Mathematical, Y↑ X→
    10) The primary sort for sorting counterclockwise to clockwise, and radial, as the central point average is calculated between selected. When sorting counterclockwise to clockwise direction is taken as the initial North-West.
    11) The secondary sorting If there are coordinates equivalent to the primary sort is applied to them is secondary.
    12) Sort each
    • For polylines sorting will be applied to each polyline separately, with the numbering of polylines with noninteractive selection (selected by ...) will be in the order of creation in the drawings, or in the order of selection for the interactive selection (selected from ...)
    • For blocks, dots and circles, is only available for the interactive selection (selected from ...) sorting and numbering will be applied alternately to each group according to their selection in the drawing.
    13) The choice of the coordinate system

    Test it…

    I wait for responses and suggestion.

    Updates:

    18.03.10 (only VLX)
    1. Revise writing to file
      1. now the file is not overwritten, and is appended
      2. removed at the end of the line, an extra delimiter

    21.05.10 (only VLX)
    1. choice of type of coordinates, geodetic or mathematical (default are geodesic)
    2. Small fixes for 2D polyline, now elevetion, can be used as the coordinate of Z, before it was available only for LWpolyline.

    29.12.10 (only VLX)
    1. added sorting to the coordinates

    10.09.12 v2.4(only VLX)
    1. Taken as a Altitude or Number of the nearby text
    2. Sort over each polyline or group of objects

    21.03.13 v2.6(only VLX)
    1. The choice of the coordinate system


    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
    Attached Files
    Last edited by Geobuilder; 22nd Mar 2013 at 02:55 am.
    On this site I not only study AutoCAD but I also practice my English. If you find rough grammatical errors in my messages, please inform me with a personal message.

  2. #2
    Senior Member stevesfr's Avatar
    Computer Details
    stevesfr's Computer Details
    Operating System:
    Vista <ugh>
    Computer:
    HP Pavilion
    Monitor:
    Dell Trinitron
    Using
    AutoCAD 2008
    Join Date
    Jan 2009
    Location
    Central Illinois, USA
    Posts
    270

    Angry comment on program

    Quote Originally Posted by Geobuilder View Post
    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
    1. Default 1 -> 1,2,3,…,n.
    2. 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.
    3. TextString (the Text is accessible only to objects (Entity) type and МТext) as number will be used text contents.
    4. 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
    1. Coordinate Z Z coordinate of object (Entity).
    2. user's format of input: material (valid) number.
    3. TextString (the Text is accessible only to objects (Entity) type and МТexst) as a Altitude will be used text contents.
    4. 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
    1. Not required falls, no.
    2. user's format of input: anything you like .
    3. TextString (it is accessible only to objects (Entity) type Text and МText) as the description text contents will be used.
    4. 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
    The VLX file works fine, the other lisp file doesn't seem to work
    error message as follows:
    Command: geo_export
    ; error: quit / exit abort
    I set path correct for dcl files, so that is not problem
    Steve

  3. #3
    Senior Member Geobuilder's Avatar
    Computer Details
    Geobuilder's Computer Details
    Operating System:
    Windows 7 Professional
    CPU:
    Intel(R) Corel(TM) i7 860 @ 2.80GHz 2.80 GHz
    RAM:
    8 GB DDR2
    Graphics:
    NVIDIA GeForce GTS 250 (Microsoft Corporation - WDDM v1.1)
    Monitor:
    22 "
    Using
    AutoCAD 2013
    Join Date
    Jan 2010
    Location
    Russia, Siberia
    Posts
    205

    Default

    Quote Originally Posted by stevesfr View Post
    error: quit / exit abort
    I set path correct for dcl files,
    Only are not true a way to a file dcl, can give the similar message, check up once again, divide folders a double slash or one return
    On this site I not only study AutoCAD but I also practice my English. If you find rough grammatical errors in my messages, please inform me with a personal message.

  4. #4
    Senior Member stevesfr's Avatar
    Computer Details
    stevesfr's Computer Details
    Operating System:
    Vista <ugh>
    Computer:
    HP Pavilion
    Monitor:
    Dell Trinitron
    Using
    AutoCAD 2008
    Join Date
    Jan 2009
    Location
    Central Illinois, USA
    Posts
    270

    Default

    Quote Originally Posted by Geobuilder View Post
    Only are not true a way to a file dcl, can give the similar message, check up once again, divide folders a double slash or one return
    all is OK now, thanks.
    S

  5. #5
    Junior Member
    Computer Details
    keithlaser's Computer Details
    Computer:
    dell xps laptop
    Discipline
    Electrical
    keithlaser's Discipline Details
    Occupation
    electrical
    Discipline
    Electrical
    Using
    MEP 2012
    Join Date
    Dec 2009
    Location
    Wisconsin US
    Posts
    14

    Default

    I like this program just found it going to try more things with it later

  6. #6
    Senior Member Geobuilder's Avatar
    Computer Details
    Geobuilder's Computer Details
    Operating System:
    Windows 7 Professional
    CPU:
    Intel(R) Corel(TM) i7 860 @ 2.80GHz 2.80 GHz
    RAM:
    8 GB DDR2
    Graphics:
    NVIDIA GeForce GTS 250 (Microsoft Corporation - WDDM v1.1)
    Monitor:
    22 "
    Using
    AutoCAD 2013
    Join Date
    Jan 2010
    Location
    Russia, Siberia
    Posts
    205

    Default

    keithlaser, I'm glad you liked.

    Updated VLX, slightly corrected writing to file
    1. now the file is not overwritten, and is appended
    2. removed at the end of the line, an extra delimiter
    On this site I not only study AutoCAD but I also practice my English. If you find rough grammatical errors in my messages, please inform me with a personal message.

  7. #7
    Forum Newbie
    Using
    Civil 3D 2009
    Join Date
    May 2010
    Posts
    3

    Default

    I don't know much about this stuff.

    How do I load and run this please?

  8. #8
    Senior Member
    Computer Details
    VVA's Computer Details
    Operating System:
    Windows 7
    CPU:
    Intel Core i5-2400
    RAM:
    8 Gb
    Graphics:
    Nvidia Quadro 600
    Primary Storage:
    Seagate 500 GB + WD 750 GB
    Monitor:
    Philips 27"
    Using
    AutoCAD 2013
    Join Date
    Dec 2006
    Location
    Minsk, Belarus
    Posts
    401

  9. #9
    Forum Newbie
    Using
    Civil 3D 2009
    Join Date
    May 2010
    Posts
    3

    Default

    Thanks. I was doing it right as it happens, but couldn't figure out the command to get it going.

    So the LSP is standalone. The VLX relies on the DCL to work, correct? Or does the VLX use the LSP as well?

  10. #10
    Senior Member Geobuilder's Avatar
    Computer Details
    Geobuilder's Computer Details
    Operating System:
    Windows 7 Professional
    CPU:
    Intel(R) Corel(TM) i7 860 @ 2.80GHz 2.80 GHz
    RAM:
    8 GB DDR2
    Graphics:
    NVIDIA GeForce GTS 250 (Microsoft Corporation - WDDM v1.1)
    Monitor:
    22 "
    Using
    AutoCAD 2013
    Join Date
    Jan 2010
    Location
    Russia, Siberia
    Posts
    205

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by Arpe View Post
    couldn't figure out the command to get it going.
    1. After you download the command prompt appears "Command name: geo_export"
    2. The same command name can be found in the same LSP file, as described in the Manual here courtesy VVA.
    3. Usually the name of the command often coincides with the name of the file ie rejecting the version (date update) from the file name Geo_export_12_04_10.VLX very likely to get command name

    Quote Originally Posted by Arpe View Post
    So the LSP is standalone. The VLX relies on the DCL to work, correct? Or does the VLX use the LSP as well?
    Once again, the files LSP and DCL, I have laid out for developers, suddenly somebody will be of interest code, or someone wants to fix for yourself ...
    But for ordinary users, I have compiled a file VLX, because that LSP worked it is necessary to make changes related to the use of the file dialog DCL, and the ordinary user it is difficult to do
    Quote Originally Posted by Arpe View Post
    Using: Civil 3D 2009
    I unfortunately both hands and do not reach the installation Civil but I think that it should have its own advanced features on the export / import
    Last edited by Geobuilder; 6th May 2010 at 08:28 am.
    On this site I not only study AutoCAD but I also practice my English. If you find rough grammatical errors in my messages, please inform me with a personal message.

Similar Threads

  1. geodetic and geographical coordinates
    By cadman2009 in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 27th Nov 2009, 06:24 am
  2. Export points coordinates and the text near it...
    By digitalghost in forum AutoCAD General
    Replies: 1
    Last Post: 30th Nov 2007, 04:52 pm
  3. Can I insert all the geodetic map file ...
    By vector in forum AutoCAD Drawing Management & Output
    Replies: 3
    Last Post: 28th Mar 2007, 10:09 pm
  4. How can I export X, Y coordinates of objects??
    By acatalin2003 in forum AutoLISP, Visual LISP & DCL
    Replies: 6
    Last Post: 16th Oct 2005, 07:32 pm
  5. autocad 2006 - export coordinates of a line
    By kato01 in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 29th Jul 2005, 11:35 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts