DrawingUtils Class

class NXOpen.DrawingUtils

Bases: object

Contains various drawing utility methods

To obtain an instance of this class, refer to NXOpen.Session

New in version NX8.5.3.

Methods

Method Description
AddDrawingAutomationWizardHandler Registers a user defined method that is called whenever Booklet Wizard is committed.
NewDrawingAutomationWizard Constructs a new DrawingAutomationWizard object.
RemoveDrawingAutomationWizardHandler Unregisters a user defined method that is called whenever Booklet Wizard is committed.

Method Detail

AddDrawingAutomationWizardHandler

DrawingUtils.AddDrawingAutomationWizardHandler

Registers a user defined method that is called whenever Booklet Wizard is committed.

Signature AddDrawingAutomationWizardHandler(handler)

Parameters:handler (CallableObject) – method to register
Returns:identifier of registered method (used to unregister the method)
Return type:int

New in version NX8.5.3.

License requirements: None.

NewDrawingAutomationWizard

DrawingUtils.NewDrawingAutomationWizard

Constructs a new DrawingAutomationWizard object.

Signature NewDrawingAutomationWizard()

Returns:data for wizard callback
Return type:NXOpen.Drafting.DrawingAutomationWizard

New in version NX8.5.3.

License requirements: None.

RemoveDrawingAutomationWizardHandler

DrawingUtils.RemoveDrawingAutomationWizardHandler

Unregisters a user defined method that is called whenever Booklet Wizard is committed.

Signature RemoveDrawingAutomationWizardHandler(id)

Parameters:id (int) – identifier for method to unregister

New in version NX8.5.3.

License requirements: None.