CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
New CADforum look launched.
Over 1.081.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
Place your Ad on CADforum.cz

CAD tip CAD tip # 8632:

Question

CAD 
 %  platform  category 
A
With a simple iLogic macro you can check material assignment for each part saved from Inventor.

Creat a a new iLogic rule with the following contents:

materialName = ThisDoc.Document.ComponentDefinition.Material.Name
If materialName = "Generic" Then
 objSPVoice = CreateObject("SAPI.SpVoice")
 objSPVoice.speak ("Your component has no material assigned")
End If

As a trigger for this rule, set e.g. "Before document save". A part with no material assigned will report itself automatically on save, by "telling it" (voice).

The default material for parts, or iLogic macros can be preset in the part template - see I > Save as > Save copy as template.

Inventor2013Inventor2012
100% *CAD
16.5.2012    13981×  
Prices - CAD eShop:
applies to: Inventor 2013 · Inventor 2012 ·

See also:
Tip 14274:How to unify part thumbnails in Inventor BOMs? (white background)
Tip 14200:How can I use multiple title blocks in an Inventor drawing?
Tip 13965:Total length of sweeps in Inventor - wires, pipes, trusses, tubes, hoses (iLogic)
Tip 13963:Sum of pipe element lengths in Inventor (iLogic).
Tip 13920:Saving your Inventor model in the presentation color scheme, thumbnails with a white background (iLogic).


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
  



Featuring:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info


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