All Frameworks  Object Hierarchy  This Framework  Indexes   

KnowledgeActivateObject (Object)

Interface to access a CATIAKnowledgeActivableObject.

Property Index

Activated
Returns whether the relation is activated.

Method Index

Activate
Activates the relation.
Deactivate
Deactivates the relation.

Properties


o Property Activated() As (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
 

Methods


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()
 
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()
 

Copyright © 2003, Dassault Systèmes. All rights reserved.