CustomManagerCallbackReason Enumeration

NXOpen.Routing.CustomManager.CallbackReason is an alias for NXOpen.Routing.CustomManagerCallbackReason

class NXOpen.Routing.CustomManagerCallbackReason

Bases: object

The reason for registering a callback indicates which Routing commands will use the callback.

Enum Members

Enum Member Enum Member Description
Unknown Used only for validation.
PlacePart Called after the Place Part command.
MovePart Called after the Move Part command.
RemovePart Called after the Remove Part command.
MovePath Called after the Move Path command.
CopyPath Called after the Copy Path command.
DeletePath Called after the Delete Path command.
TransformPath Called after the Transform Path command.
OffsetPath Called after the Offset Path command.
AssignStock Called after the Assign Stock command.
WireRouteManual Called after the Manual Route command.
WireRouteAuto Called after the AutoRoute command.
WireCompManual Called after the Manual Assign command.
WireCompAuto Called after the AutoAssign command.
WireUnroute Called after the Unroute command.
WireUncomp Called after the Unassign Component command.
WireTerminals Called after the Model Terminals command.
ChoosePart Called after the Choose Part command.
CreateConnection Called after the Create Connection command.
EditConnection Called after the Edit Connection command.
UnassignStock Called after the Remove Stock command.
CreateRun Called after the Create Run command.
RunPreDelete Called before deleting a run.
ReplaceStock Called after the Replace Stock command.
CreatePortConnection Called after the creating a connection between two ports.
WireCompProxy Called after the Assign Proxy command.
ReplacePart Called after the Replace Part command.
BrokenConnection Called after a port-to-port connection is broken.
EditReplacePart Unused.
AttrDiscrepancy Called after the Place Part and Replace Part commands.
AttributeCopyReplacePart Called after the Replace Part command.
Count The number of callback reasons.
ValueOf()

Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

Signature ValueOf(value)

Parameters:value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
Return type:Enum Member type.

New in version NX9.0.1.

License requirements: None.