当前位置:服务支持 >  软件文章 >  TCL自学笔记:hm_entitylist命令详解与实操案例

TCL自学笔记:hm_entitylist命令详解与实操案例

阅读数 13
点赞 0
article_banner

hm_entitylist nodes id

# 输出所有节点的id

hm_entitylist

Returns a list of names or IDs of all entities of the requested type.

Syntax

hm_entitylist entity_type name_or_id ?mode?

Type

HyperMesh Tcl Query

Description

Returns a list of names or IDs of all entities of the requested type.

Inputs

  • entity_type

  • The type of entity to query.

  • name_or_id

  • The type of list to generate. Valid values are:

  • name - Return the list of names. Only named entity types support this option.

  • id - Return the list of IDs. All entity types support this option.

  • mode

  • An optional argument that specifies which entity types are returned:

  • active - Return only the active entities. This is the default if not specified.

  • all - Return both active and inactive entities.

  • inactive - Return only the inactive entities.

Example

To get the list of node IDs:

hm_entitylist nodes id

To get the list of component names:

hm_entitylist comps name


免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删
相关文章
QR Code
微信扫一扫,欢迎咨询~

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 155-2731-8020
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

手机不正确

公司不为空