乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 96|回复: 19

[编程交流] Export coordinates (both Geode

[复制链接]

2

主题

74

帖子

72

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-5 15:56:10 | 显示全部楼层 |阅读模式
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, tr236ort, …, tr(235+n)ort.
  • 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
  • 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.
  • 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.
  • 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 ) Sign□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)
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)


  • Revise writing to file

    • now the file is not overwritten, and is appended
    • removed at the end of the line, an extra delimiter


       
      21.05.10 (only VLX)


      • choice of type of coordinates, geodetic or mathematical (default are geodesic)
      • 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)


      • added sorting to the coordinates

       
      10.09.12 v2.4(only VLX)


      • Taken as a Altitude or Number of the nearby text
      • Sort over each polyline or group of objects

       
      21.03.13 v2.6(only VLX)


      • 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
      Geo_Export_v2_6+ico.zip

回复

使用道具 举报

6

主题

249

帖子

247

银币

初来乍到

Rank: 1

铜币
30
发表于 2022-7-5 16:01:57 | 显示全部楼层
 
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
回复

使用道具 举报

2

主题

74

帖子

72

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-5 16:03:25 | 显示全部楼层
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
回复

使用道具 举报

6

主题

249

帖子

247

银币

初来乍到

Rank: 1

铜币
30
发表于 2022-7-5 16:05:58 | 显示全部楼层
 
all is OK now, thanks.
S
回复

使用道具 举报

1

主题

6

帖子

5

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-5 16:11:28 | 显示全部楼层
I like this program just found it going to try more things with it later
回复

使用道具 举报

2

主题

74

帖子

72

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-5 16:13:32 | 显示全部楼层
keithlaser, I'm glad you liked.
 
Updated VLX, slightly corrected writing to file


  • now the file is not overwritten, and is appended
  • removed at the end of the line, an extra delimiter
回复

使用道具 举报

0

主题

3

帖子

3

银币

初来乍到

Rank: 1

铜币
0
发表于 2022-7-5 16:15:31 | 显示全部楼层
I don't know much about this stuff.
 
How do I load and run this please?
回复

使用道具 举报

VVA

1

主题

308

帖子

308

银币

初来乍到

Rank: 1

铜币
8
发表于 2022-7-5 16:20:15 | 显示全部楼层
maybe it will help: How to use the LISP routines in this archive
回复

使用道具 举报

0

主题

3

帖子

3

银币

初来乍到

Rank: 1

铜币
0
发表于 2022-7-5 16:22:09 | 显示全部楼层
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?
回复

使用道具 举报

2

主题

74

帖子

72

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-5 16:26:40 | 显示全部楼层

  • After you download the command prompt appears "Command name: geo_export"
  • The same command name can be found in the same LSP file, as described in the Manual here courtesy VVA.
  • 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

 
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
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
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-14 13:08 , Processed in 0.483233 second(s), 76 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表