找回密码
 注册
Simdroid-非首页
查看: 275|回复: 1

请问:怎么获得一条线上的节点数目?

[复制链接]
发表于 2006-2-9 15:41:44 | 显示全部楼层 |阅读模式 来自 湖北武汉
我想知道已经划分了的线上节点的数目,怎么做?用命令的方式。
发表于 2006-2-17 16:46:09 | 显示全部楼层 来自 天津

Re:请问:怎么获得一条线上的节点数目?

Simdroid开发平台
1. pick up the line
lsel,s,line,, number
2. select all node on the line
nsll,s,1
3. get the number of the nodes selected
n = ndinqr(0,13)

Hope it will help you.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-30 05:22 , Processed in 0.032319 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表