My task is to determine the quantity of drawing documents (. CATDrawing) in a folder and open them one by one, renumbering the drawing sheets in the file.
Every. CATDrawing document, contains only one sheet and need to edit the drawing sheet number like Sheet 1 of 1 and 1 of 2, etc. Please...
Could some one please help me to find how to measure distance between two refences (Plane (reference1) and surface or point (reference 2) through VBA macro in catiav6)?
Thanks.
Hi,
I am getting an error message as shown below while creating a new VBA macro or loading an existing macro. We reinstalled windows OS as well as Catia, but I still get the same error message. Could someone please help me to resolve this issue?
Thanks...
Hi LWolf,
Thank you for your reply.
I executed without "As V4Mastermodel" in line "Dim v4MasterModel1 As V4MasterModel". But, I am still getting an error message like "Object doesn't support this action".
...selection1 = document1.Selection
selection1.Clear
Dim v4MasterModel1 As V4MasterModel
[highlight #FCE94F]Set v4MasterModel1 = document1.GetItem("*MASTER")[/highlight]
selection1.Add v4MasterModel1
selection1.Copy
Dim documents1 As Documents
Set documents1 = CATIA.Documents
Dim...
Thank you very much!
Now, I can able to count and rename parameters.
To rename parameters, I included this line in your coding: MyDirectParam.Item(i).Rename "Modified"
Thanks once again.
Hi,
I have created set of parameters like Parameter1, parameter2, parameter3 and so through vba coding.
I know how to rename induvial parameter, but I want to select all parameters and rename all parameters with common name (Modified Parameter) at one shot.
Could anybody help me how to do it...
Hi,
Catia window is not active after loading VBA User form window and unable to scroll Catia tree structure/select any object from Catia tree structure and Catia window. I am expecting Catia window should be in "active mode" even after launching VBA user form window. Could anybody please help me...
Sorry! Attachment was not attached. I have again attached image.
As I have mentioned in the previous mail, I need to count user input selection on Input box-1.
I am trying to automate sweep option and writing coding for same. To automate sweep user has to give two inputs one is curve and...
Hi Little Cthulhu,
I got answer for my previous question that is how to select multiple inputs at a time. But, Now I have another question how to count user input selection?
I want to know how to count user input selection? I have three command box in my Userform and command box 1 & 2 for user...
Hi,
I am aware that user can able to select single input object on single text box at a time. Similarly can user able to select multiple input objects on same text box at a time?
If yes, please let me know how to implement in coding?
Also, I have One more question. In my case, I am giving two...
As shown in the image, I have to remove or do not want to consider edges inside the cavity, cavity boundary and outer surface boundary. I have to use surface edge fillet only on the small closed edges mentioned in the image. I am new for CAT VBA and do not have much experience on coding. So if...
Hi
I am trying to use Surface Edge Fillet in my coding. I have a trimmed two intersecting surfaces and need to use "Surface edge fillet" on intersecting edge. I tried recording and ran same macro but it does not work. In recorded macro that edge fillet is not selecting support automatically...