Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub CATMain()
Dim productDocument1 As ProductDocument
Set productDocument1 = CATIA.ActiveDocument
Dim product1 As Product
Set product1 = productDocument1.Product
Dim constraints1 As Constraints
Set constraints1 = product1.Connections("CATIAConstraints")
Dim constraint1 As Constraint
Set constraint1 = constraints1.Item("Offset.1")
'---activate or deactivate---
constraint1.Deactivate
'constraint1.Activate
End Sub