Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Catia Vba Part or Product link isolate

Status
Not open for further replies.

FuatErt

Automotive
Aug 9, 2024
1
Hi everyone,

I'm seeking a VBA script capable of efficiently isolating all linked data within a selected CATIA V5 part or product.

Ideally, the script would function as follows:

User interaction: Open the desired part or product.
Script execution: Upon clicking a button, the script would process the selected item and isolate all linked data.
Feedback: A message box would display a confirmation indicating successful isolation, including the part or product name.
Isolating Linked Data in CATIA V5 Using VBA

Hi everyone,

I'm seeking a VBA script capable of efficiently isolating all linked data within a selected CATIA V5 part or product.

Ideally, the script would function as follows:

User interaction: Open the desired part or product.
Script execution: Upon clicking a button, the script would process the selected item and isolate all linked data.
Feedback: A message box would display a confirmation indicating successful isolation, including the part or product name.

Example:
Sub IsolateLinkedData()
Dim selectedDoc As Document
' Get the selected document (part or product)
Set selectedDoc = CATIA.ActiveDocument

' Code to isolate linked data goes here

MsgBox "All links were isolated for " & selectedDoc.Name
End Sub
I'm interested in learning how to effectively identify and isolate various link types within a part or product using VBA. Any code examples or suggestions would be greatly appreciated.

Thank you for your assistance!
 
Replies continue below

Recommended for you

Basically you want to remove all links as if you run Edit-Links command? Not possible with VBA.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor