pycatia.knowledge_interfaces.knowledge_activate_object

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.knowledge_interfaces.knowledge_activate_object.KnowledgeActivateObject(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
KnowledgeInterfaces.KnowledgeObject
KnowledgeActivateObject

Interface to access a CATIAKnowledgeActivableObject.
activate() None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub Activate()

Activates the relation. The relation will be processed whenever the value
of one of its input parameter is modified.

Example:
This example activates the maximummass relation:

maximummass.Activate()
Return type:

None

property activated: bool

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
o Property Activated() As boolean (Read Only)

Returns whether the relation is activated.
True if the relation is activated. An activated relation is processed
whenever the value of one of its input parameter is
modified.

Example:
This example retrieves whether the maximummass relation is activated,
and if true, displays the result in a message box:

If ( maximummass.Activated ) Then
MsgBox “maximummass is activated”
End If
Return type:

bool

deactivate() None

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
o Sub Deactivate()

Deactivates the relation. The relation will no longer be processed when the
value of one of its input parameter is modified.

Example:
This example deactivates the maximummass relation:

maximummass.Deactivate()
Return type:

None