乐筑天下

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

[编程交流] Help needed, It may be about t

[复制链接]

24

主题

93

帖子

76

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
115
发表于 2022-7-6 07:41:22 | 显示全部楼层 |阅读模式
Hello Everyone,
                    I want to add Station RD's (like RD =1+00, RD =1+50) on every 50 foots on Pline. I used amazing Lisp by Lee Mac which is "NumInc". It can easily add 50 and I placed them on right point, this is like "RD =100, RD =150, RD =200 and so...". Now the problem is I want to add a "+" sign in the middle (like RD =1+00, RD =1+50), with find and replace I could do that "like replace "00" to "+00" and "50 to +50" but there was problem with RD =5000 to RD =5050 and big value over RD =100+00. Plz I need a Lisp which can put this type of text on every 50 foots or a text entry Lisp on existing text which asks what do you want to add and where do you want to add (means add "+" after how many letters). Hope you could understand.
 
Thanks for any kind of help by anyone.
回复

使用道具 举报

44

主题

542

帖子

502

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
220
发表于 2022-7-6 08:09:43 | 显示全部楼层
There are already lots of lisps available that do this. Do a search for 'chainages' and 'stationing'.
回复

使用道具 举报

24

主题

93

帖子

76

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
115
发表于 2022-7-6 08:13:32 | 显示全部楼层
Hi,
   I found this Lisp by Mr.Fixo.
http://www.cadtutor.net/forum/showthread.php?24278-draw-chainage-on-polyline&p=155543&viewfull=1#post155543
This is good, but it inserts blocks(Text and Line). I want only text instead of blocks. So if some one who can modify it plzz do it I'll be thankful.
回复

使用道具 举报

44

主题

542

帖子

502

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
220
发表于 2022-7-6 08:28:47 | 显示全部楼层
 
If that works for you and is all you need then simply use that lisp and then afterwards edit the block named 'Station' and delete the line in that block (which will remove it from beneath all the chainages).
回复

使用道具 举报

24

主题

93

帖子

76

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
115
发表于 2022-7-6 08:47:27 | 显示全部楼层
Hi Dink87522,
                   Yes that helps to remove line. I don't want stations to show after points value (which is precision ".00" and I want precision "0"), because I am using exact 50 foots and don't want to show points. Is there any way to remove them too.Thanks.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-9 22:02 , Processed in 0.629764 second(s), 73 queries .

© 2020-2025 乐筑天下

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