Hello,
Is there any possiblity to loop through already opened .CATDrawing files in catia v5 using vba.
If yes please help me with code
I found below code but its counting sheets inside the same CATDrawing file.
Dim drawingDocument1 As Document
Set drawingDocument1 = CATIA.ActiveDocument
Set...
Hello,
I need macro to get all items linked to leader.
Case 1-Sinlge leader one time all items linked to the leader.
case 2 - if multiple leaders connected to same items should give quantity based on the number of leaders.
For ref:
Please help me to get the same.
I have written the...
Hello,
Could some one help me to get the values from prodcut properties window.
sProd_Nom = MyProduct.Nomenclature
sProd_Def = MyProduct.Definition
with this i am getting only 2 but i need description and revision and all.
Hello All,
I am getting the Balloon number from the catia V5 drawings but not able to get the postion of the balloon from the draing view.
Below is my code to get the balloon number, Please help me to get the balloon positon from the drawing view.
Dim wb As Workbook, ws As Worksheet
Sub...
Hello All,
I am getting the Balloon number from the catia V5 drawings but not able to get the postion of the balloon from the draing view.
Below is my code to get the balloon number, Please help me to get the balloon positon from the drawing view.
Dim wb As Workbook, ws As Worksheet
Sub...
Hello All,
Could you help me to Delete Useless elements from Geometrical sets in Catia using vba.
Here is my code which is double clicking on above part but need to double click on highlighted part and then click on Tools >> Delete unused elements
If (Mid(MyCurrPN, 18, 4) = "-BGE" Or...
Hello All,
I wanted to remove the broken publication link as shown below.
Written basic to get all publications.
My question is macro listing all publications but it has to list out only broken publication as it was having yellow "!" symbole.
Sub CATMain()
Set CATIA = GetObject(...
Hello All,
I have create below code to change or update the connection file using excel vba,
But its changing path in Connection file but not updating in Connection String.
Could some one please help me to solve this issue.
Sub Update_PivotConnection()
Application.StatusBar = "Macro is...
Hello All,
I have created below VBA macro in excel for CATIA V5 to insert the parts from CADLib and place as per the co ordinates and vectors.
INPUT for macro:
My QUESTION:
Parts are inserting to particular location but not aligning properly.
Please help me to solve this.
Sub CATMain()...
Dear All,
I want insert an STD part inside a product using vba please help me for it.
---First need to create a new product using insert new product name should be (STD_parts)
---After this need call STD parts from the local folder and positioned in a product.
Parts should be place using excel...
Hi All,
I have written below to scan all the geo sets and shapes but unable to get the parameters below SHAPES, could someone please help me to get the same.
I am getting below result till
No of Geosets--2
Geosets name level1--Fasteners
Geosets name level2--Modified
Geosets name...
Hi,
I need to count the parameters below the GeoSet using vba
In geoset we have multiple UDF's from UDF's need to count how many parameters are there inside each UDF.
For the reference please see below pictures.
Hello All,
I am new to the VB programming.
I need your help below is my request.
I need to export the details from geometrical set to excel from catia tree using vba.
i have several fastener details like shown below.
please help me
Thank you