CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3203

CAD tip CAD tip # 12828:

   
Question CAD 
 %  platform  category 
Q - question

How to quickly delete 3rd party links to external objects in Inventor?

A - answer If you need to remove "3rd Party" references (e.g. XLS tables, OLE documents, raster images) from your Inventor document (IPT, IAM), you can use three ways:

  1. Remove them individually, one by one using the function "Links" (Tools > Options > Links) and its button "Break Link".
  2. Use the VBA macro "MyRefDocs" described in Lesson 18 of our samples on Inventor and AutoCAD VBA programming
  3. Use a simple iLogic rule - see below:
 Dim oDoc As Inventor.Document
 Dim ref As Inventor.ReferencedOLEFileDescriptor
 oDoc = ThisApplication.ActiveDocument
 For Each ref In oDoc.ReferencedOLEFileDescriptors
    ref.Delete 'delete reference
 Next
Inventor
100% *  CAD 
28.12.2020    1201×  
applies to: Inventor ·

See also:
Tip 12508:How to assign an expression (not value) to a user parameter with iLogic?
Tip 12432:Parse/replace Inventor iProperties using regular expressions.
Tip 11801:What is the difference between ThisDoc.Document and ThisApplication.ActiveDocument in iLogic?
Tip 11542:How to reset the top browser node name back to the file name?
Tip 9561:iLogic macro for exporting IDW/DWG Inventor drawings to DXF.


Back   All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
DwgTextTranslator translates a series of drawings from one language to another using MS Access.
Download a fully functional trial version.


Please use these tips at your own risk.
CAD Studio is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist