CustomFeaturePreUpdateEvent Class¶
-
class
NXOpen.Features.CustomFeaturePreUpdateEvent¶ Bases:
NXOpen.Features.CustomFeatureEventRepresents the event data for pre-update callback for custom feature.
This class cannot be created
New in version NX11.0.0.
Properties¶
| Property | Description |
|---|---|
| ErrorCode | Returns or sets the error occured during the event |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| CreateConstructionFeatureData | Returns construction feature data for given construction feature of a custom feature |
| GetConstructionFeatures | The custom feature get construction features |
| GetCustomFeature | Get the custom feature of the event |
| GetNXObject | Returns the Solid body |
| GetOutputFeatures | The output features created in post update event |
| GetParasolidId | Get the Parasolid tag of Solid body |
| SetConstructionFeatures | The custom feature construction features |
Method Detail¶
CreateConstructionFeatureData¶
-
CustomFeaturePreUpdateEvent.CreateConstructionFeatureData¶ Returns construction feature data for given construction feature of a custom feature
Signature
CreateConstructionFeatureData(feature)Parameters: feature ( NXOpen.Features.Feature) – The feature for which the data object is to be createdReturns: The object of ConstructionFeatureData Return type: NXOpen.Features.ConstructionFeatureDataNew in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
SetConstructionFeatures¶
-
CustomFeaturePreUpdateEvent.SetConstructionFeatures¶ The custom feature construction features
Signature
SetConstructionFeatures(constructionFeaturesTags)Parameters: constructionFeaturesTags (list of NXOpen.Features.ConstructionFeatureData) – Input array of NXOpen FeaturesNew in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)