CAD[SolidWorks]
GetFeatureList
Calling Sequence
Parameters
Options
Description
Examples
GetFeatureList(p,options)
p
-
handle to a SolidWorks document
feature : a single feature or a list of features
component : string; a single component or a list of components
The GetFeatureList command lists the features in a SolidWorks document.
If the feature option is provided, then the subfeatures of the specified features are returned.
If the component option is provided, then the features of the specified components are returned.
with⁡CADSolidWorks:
OpenConnection⁡:
doc≔GetActiveDocument⁡:
GetFeatureList⁡doc
Design Binder,Annotations,Lights, Cameras and Scene,Solid Bodies,Surface Bodies,Comments,Material <not specified>,Front,Top,Right,Origin,Design Table,Sketch1,Extrude1,Sketch2,Extrude2,Sketch6,Extrude3,Sketch7,Cut-Extrude2,Fillet2,Fillet1,CirPattern1,Fillet3,Rectangle,Sketch11,Sketch12,Surface-Extrude2
GetFeatureList⁡doc,component=part1-1
Design Binder,Annotations,Lights, Cameras and Scene,Solid Bodies,Surface Bodies,Comments,Material <not specified>,Front,Top,Right,Origin,Design Table,Sketch1,Extrude1
GetFeatureList⁡doc,component=part1-1part2-1
Design Binder,Annotations,Lights, Cameras and Scene,Solid Bodies,Surface Bodies,Comments,Material <not specified>,Front,Top,Right,Origin,Design Table,Sketch1,Extrude1,Fillet1
GetFeatureList⁡doc,feature=Extrude3
Sketch7
CloseConnection⁡:
See Also
Download Help Document