Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Sidtha

    How to loop through already opened .CATDrawing files in catia v5 using vba

    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...
  2. Sidtha

    Export Bundle Segnment Properties to excel

    Hello, Is it possible to export the Bundle segnement properties to excel from catia v5 using vba Wanted to export the marked values to excel. BR Siddu
  3. Sidtha

    How to get all items linked to a leader?

    With my above code i am getting first item only not getting all items linked to the leader.
  4. Sidtha

    How to get all items linked to a leader?

    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...
  5. Sidtha

    How to extract the values from prodcut properties window

    Got solution for this MyProdcut.DescriptionRef thank you
  6. Sidtha

    How to extract the values from prodcut properties window

    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.
  7. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    Hi, Sorry i was not able to get the same.
  8. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    xpos = oDrwView.Item(i).x----Position based on view ypos = oDrwView.Item(i).y----Position based on view H = CurrentText.x---Position based on sheet V = CurrentText.y---Position based on sheet VIEW A6-6BEFORE/AFTER MODIFICATION 935.219970703125 350.777282714844 8914-HORIZONTAL...
  9. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    xpos = oDrwView.Item(i).x ypos = oDrwView.Item(i).y this will give the postion of X Y co ordinates of balloons based on view. H = CurrentText.x V = CurrentText.y this i thought this will give postion of Balloon based on sheet but its not happening. Can you help me to get the postion from the...
  10. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    Hi, Thank you for reply. step 1 position of balloon in view Yes below is my code i am getting postion of balloon based on view postion Sub BOMExtract() Dim CATIA As Object Dim myselection As Selection Dim textlist() As String Dim showstate As CatVisPropertyShow Dim dblViewScale As Double Dim...
  11. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    Can some help me to get the position of a balloon in catia v5 drawing like H7 as shown in picture.
  12. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    Thank you 3DDave will try your suggestion. can you help me if you have some sample code to extract the same like you said. Thank you
  13. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    Yes for drawing sheet we have grid or zone values like horizontal numbers and vertical Leterrs like shown below. Its STD template so wanted to check if the text or balloon belongs to which Zone like "A1,B2,,," like that.
  14. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    Hi LWolf, Yes i tried as you suggested but i am getting only the co ordinates. Not geeting as i mentined in my question. below is the code updated one. Need to export the Balloon position like D2 refering with frame values. For i = 1 To oDrwView.Count For numtxt = 1 To...
  15. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    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...
  16. Sidtha

    How to get the Balloon Position from CATIA V5 Drawings using VBA

    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...
  17. Sidtha

    Delete Useless elements from Geometrical sets in Catia using vba

    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...
  18. Sidtha

    Remove Broken Publications from CAITA V5 Using VBA

    Thank you weagan22 It works fine
  19. Sidtha

    Remove Broken Publications from CAITA V5 Using VBA

    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(...
  20. Sidtha

    How to change connection string for Pivots using vba

    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...

Part and Inventory Search