Anyone can try my code on catia for me?
And I can excapt any help for my code :)
Sub TransparentizeComponents()
Dim productDocument As ProductDocument
Set productDocument = CATIA.ActiveDocument
If Not productDocument Is Nothing Then
Dim product As Product
Set...
I added example about what am I needed in picture. Is this possible to create parts and assembles like this with 1 macro? I tried my best but I got stuck.
Language="VBSCRIPT"
Sub CATMain()
Set documents1 = CATIA.Documents
Set partDocument1 = documents1.Item("Part1.CATPart")
Set part1 =...
Hello friends I'm new in Catia macro. I have several questions.
1) I tried to save macro but it didn't worked in opacity and colour. I want to make 0% or 25% opacity all of the product and giving white colour.
2) In product I need to find all holes. Give all holes red color and count them (I...