CustomFeaturePreUpdateEvent Class

class NXOpen.Features.CustomFeaturePreUpdateEvent

Bases: NXOpen.Features.CustomFeatureEvent

JA interface for the CustomFeaturePreUpdateEvent object

This calls 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 Create construction feature data @return The object of ConstructionFeatureData
GetConstructionFeatures The custom feature get construction features @return Output array of NXOpen Features
GetCustomFeature Get the custom feature of the event @return The owning Custom Feature of feature that caused the event to fire
GetNXObject Get the Parasolid tag of Solid body @return
GetOutputFeatures The output features created in post update event @return Output array of NXOpen Features
GetParasolidId Get the Parasolid tag of Solid body @return
SetConstructionFeatures The custom feature construction features

Method Detail

CreateConstructionFeatureData

CustomFeaturePreUpdateEvent.CreateConstructionFeatureData

Create construction feature data

Signature CreateConstructionFeatureData(feature)

Parameters:feature (NXOpen.Features.Feature) – The feature for which the data object is to be created
Returns:The object of ConstructionFeatureData
Return type:NXOpen.Features.ConstructionFeatureData

New 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 Features

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)