Interface ICamApiFeature
Base interface of a recognized feature
Assembly: CAMAPI.FeatureFinder.dll
Syntax
[Guid("F8727973-EF9C-4EAD-8D7C-0C062587BF5E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiFeature
Properties
BaseEntityCount
Number of base geometry entities that make up this feature
Declaration
int BaseEntityCount { get; }
Property Value
BaseEntityName[int]
Declaration
string BaseEntityName[int Index] { get; }
Parameters
| Type |
Name |
Description |
| int |
Index |
|
Property Value
Caption
Display caption of the feature
Declaration
Property Value
FeatureType
Declaration
TCamApiFeatureType FeatureType { get; }
Property Value
Id
Unique identifier of the feature
Declaration
Property Value
IsMachined
True if the feature is marked as machined
Declaration
Property Value
IsValid
True if the feature is geometrically valid
Declaration
Property Value
Lcs
Local coordinate system of the feature (axis and position)
Declaration
Property Value
Selected
True if the feature is selected in the UI. Writable — set to highlight/unhighlight
the feature and its base entities in the viewport.
Declaration
bool Selected { get; set; }
Property Value
Status
Declaration
TCamApiFeatureStatus Status { get; }
Property Value
SubFeature[int]
Declaration
ICamApiFeature SubFeature[int Index] { get; }
Parameters
| Type |
Name |
Description |
| int |
Index |
|
Property Value
SubFeatureCount
Number of sub-features (e.g. steps in a complex hole)
Declaration
int SubFeatureCount { get; }
Property Value
ZMax
Maximum Z coordinate of the feature in its LCS
Declaration
Property Value
ZMin
Minimum Z coordinate of the feature in its LCS
Declaration
Property Value