当前位置:网站首页>PolyWorks script development learning notes (II) -treeview basic operations
PolyWorks script development learning notes (II) -treeview basic operations
2022-07-03 09:25:00 【zeng31403】
Polyworks Script development learning notes ( Two )-TREEVIEW Object basic operation
TREEVIEW Object selection
- choice / Don't select an object
TREEVIEW OBJECT SELECT ALL Select all objects , Include reference / data / alignment / features / The comparison points are all included
TREEVIEW OBJECT SELECT NONE All objects are not selected - choice / Unselected feature
TREEVIEW FEATURE SELECT ( 1, “On” ) Select the serial number as 1 Characteristics of , Select by serial number , Set unchecked as “Off”
TREEVIEW FEATURE SELECT ALL ( “On” ) Select all features , Set unchecked as “Off” - Select the object group
TREEVIEW OBJECT_GROUP SELECT ( “Pt1-3” ) Select with the object group name
DECLARE vGroupName “Pt1-3” Defining variables
TREEVIEW OBJECT_GROUP SELECT ( $vGroupName ) Choose by variable name - choice / Do not select reference objects
TREEVIEW REFERENCE SELECT NONE The reference object is not selected
TREEVIEW REFERENCE SELECT ALL Select all reference objects
TREEVIEW REFERENCE SELECT(1,“On”) Select by index (“On”)/ No election ( “Off”) The first 1 A reference object - choice / Do not select a data object
TREEVIEW DATA SELECT NONE Data object is not selected
TREEVIEW DATA SELECT ALL Select all data objects
TREEVIEW DATA SELECT(1,“On”) Select by index (“On”)/ No election ( “Off”) The first 1 Data object - choice / Do not select the data alignment object
TREEVIEW DATA_ALIGNMENT SELECT NONE No data alignment objects are selected
TREEVIEW DATA_ALIGNMENT SELECT ALL ( ) Select all data alignment objects
TREEVIEW DATA_ALIGNMENT SELECT ALL (1) The first group of aligned objects selects all
TREEVIEW DATA_ALIGNMENT SELECT(1,1,“On”) Select the... Through the index 1 Align Group No 1 Align objects - Select the entire object group from the selected object
TREEVIEW ELEMENT_GROUP SELECT FROM_SELECTED_ELEMENTS
As long as there is 1 Objects were selected , All objects under the object group will be selected
TREEVIEW OBJECT_GROUP SELECT ( ) But object groups are also selected
TREEVIEW Object information acquisition
- Get the number of features
DECLARE vFeatureNum Define a variable
TREEVIEW FEATURE COUNT GET (vFeatureNum) The number of obtained features is stored in the variable
TREEVIEW FEATURE POINT COUNT GET ( vFeatureNum ) The number of obtained point features is stored in the variable - Get the number of selected features
DECLARE vSelFeatureNum Define a variable
TREEVIEW FEATURE SELECTED COUNT GET (vSelFeatureNum ) Get the number of selected features and store them in the variable - Object selection groups
TREEVIEW FEATURE POINT SELECT (4,“On”) choice 4 Number point
TREEVIEW FEATURE POINT SELECT (5,“On”) choice 5 Number point
TREEVIEW FEATURE GROUP (,) Group - Get its index according to the feature name
DECLARE vInd
TREEVIEW FEATURE INDEX GET ( “Pt4”,vInd) Get the feature name as Pt4 Object index of - Get the number of objects under all characteristics of this type ( Applicable to other objects )
DECLARE vFeatureNum
TREEVIEW FEATURE POINT COUNT GET (vFeatureNum) Get the number of all feature points
TREEVIEW FEATURE POINT COUNT SELECTED GET (vFeatureNum) Get the number of selected feature points - Get the names of all objects under this type of feature ( This is so useful , It also applies to other objects )
DECLARE vFeatureNames
TREEVIEW FEATURE POINT NAME ALL GET (vFeatureNames) Get the names of all feature points
TREEVIEW FEATURE POINT NAME SELECTED GET (vFeatureNames) Get the name of the selected feature point
DECLARE vPtName
TREEVIEW FEATURE POINT NAME GET ( 4,vPtName ) For the first 4 Names of feature points
DECLARE vGroupNames
TREEVIEW OBJECT_GROUP NAME ALL GET ( vGroupNames ) Get the names of all object groups - For the characteristic / The object group is renamed
TREEVIEW FEATURE POINT NAME (1,“Pt11” ) Index is 1 The feature point of is renamed Pt11
TREEVIEW OBJECT_GROUP PROPERTIES NAME ( “Pt4-5”, “ Object group 1” ) Name it " Object group 1" The object group of is changed to Pt4-5
边栏推荐
- About the configuration of vs2008+rade CATIA v5r22
- Usage of pandas to obtain MySQL data
- Uc/os self-study from 0
- IDEA 中使用 Hudi
- Apply for domain name binding IP to open port 80 record
- Run flash demo on ECS
- Hudi data management and storage overview
- Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
- Win10 quick screenshot
- Jenkins learning (III) -- setting scheduled tasks
猜你喜欢
[point cloud processing paper crazy reading classic version 9] - pointwise revolutionary neural networks
CATIA automation object architecture - detailed explanation of application objects (I) document/settingcontrollers
[point cloud processing paper crazy reading frontier version 8] - pointview gcn: 3D shape classification with multi view point clouds
【Kotlin学习】类、对象和接口——定义类继承结构
Hudi 快速体验使用(含操作详细步骤及截图)
解决Editor.md上传图片获取不到图片地址问题
LeetCode每日一题(2212. Maximum Points in an Archery Competition)
Go language - JSON processing
Using Hudi in idea
2022-2-14 learning xiangniuke project - generate verification code
随机推荐
[point cloud processing paper crazy reading classic version 10] - pointcnn: revolution on x-transformed points
Numerical analysis notes (I): equation root
[point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
Using Hudi in idea
Redis learning (I)
Simple use of MATLAB
[point cloud processing paper crazy reading classic version 12] - foldingnet: point cloud auto encoder via deep grid deformation
CATIA automation object architecture - detailed explanation of application objects (I) document/settingcontrollers
Common formulas of probability theory
[untitled] use of cmake
Notes on numerical analysis (II): numerical solution of linear equations
[set theory] order relation (chain | anti chain | chain and anti chain example | chain and anti chain theorem | chain and anti chain inference | good order relation)
WARNING: You are using pip ; however. Later, upgrade PIP failed, modulenotfounderror: no module named 'pip‘
2022-2-13 learn the imitation Niuke project - Project debugging skills
LeetCode每日一题(1024. Video Stitching)
[kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals
【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
Explanation of the answers to the three questions
Flink学习笔记(九)状态编程
LeetCode每日一题(2115. Find All Possible Recipes from Given Supplies)