Creating a Basic iLogic Rule with an Event Trigger
Issue:You've found some iLogic code online, but you're not sure how to create a simple rule or have it trigger on a save event. You've found the iLogic tutorials on line, but don't have the time to go...
View ArticleSet Your Drawing View Labels to Use the Model Part Number
Issue:You'd prefer your view labels to use the model part number (or some other file property) rather than the default "View1", "View2", and so on. Re-naming the view labels manually is tedious and...
View ArticleiLogic to Rename All Solid Bodies
Issue:You've created a multi-body solid model with the intent to use the Make Components tool to write out each solid as a new part file. This works fine, but you find yourself wishing there was an...
View ArticleiLogic to Select all of the Closed Profiles Found in a Sketch
Issue:You find yourself needing to select a large number of closed profiles in a sketch of a logo or something similar. This is quite tedious and because you reuse the sketch over and over, you find...
View ArticleWorking With Unconstrained Imported Assembly Components
Issue:You've found a great 3D model on the web that you want to use in Inventor. It was originally created in some other 3D design software, but you were able to import it into Inventor. The problem is...
View Articleilogic Rule To Change Units Of Measure
Issue:You've created some of your parts in inches and others in millimeters, but now you'd like to convert them all to be the same. Is there a quick way to do this without having to open each file go...
View ArticleCreate a New Excel File with iLogic
Issue:You have the need to write out information from Inventor to a spreadsheet. But you're not sure how to create a create a new Excel.Solution:Here is a quick iLogic rule that will look for an...
View ArticleiLogic and the Inventor Project File
Issue:You want to reference the current Inventor Project file within an iLogic rule.Solution:Here is a quick iLogic snippet that will demonstrate how to work with the Project file and path. In this...
View ArticleiLogic: Get File Information for the Selected Component
Issue:You want to find the file name or path of a selected component in your iLogic rule.Solution:Here is a quick iLogic snippet that will demonstrate how to work with the selected component file and...
View ArticleDisable Automatic PDF Display
Issue:When you use Save As> Save Copy As> PDF, or Export> PDF, Inventor always opens the PDF viewer to show the PDF file after it is published. This can be a bother, due to the delay caused...
View ArticleiLogic: Virtual Components
Issue:You have some iLogic code that iterates through all of the components in an assembly and does some something with the file for each. However, if the assembly contains a virtual component then the...
View ArticleInventor Background Color as White: Improved
Issue:You'd like to use a solid white back ground in Inventor because it allows you to take quick screen captures for use in illustrations for a variety of publications (examples: how to videos,...
View ArticleiLogic: Adding a Save As Dialog Box
Issue:You'd like to present the user with a Save As dialog box that will allow them to browse for a folder during the execution of your iLogic rule. However, the examples in the iLogic snippets all use...
View ArticleiLogic: Batch Output PDFs from an Assembly File
Issue:You'd like to output a PDF file from the drawings of all the components found in an assembly file (if those components have a drawing file created), and you like also create a PDF of the top...
View ArticleiLogic Replace Derived Reference
Issue:You wish there was an option in parts created from derived components to replace the derived component.Solution:Here is a quick iLogic rule that will allow you to browse for a new file with which...
View ArticleiLogic Solid Body Visibility
Issue:You want to be able to control the visibility of Solid Bodies in a Multi Body part file using your iLogic rule.Solution:Here is a quick example that demonstrates severaloptions to toggle the...
View ArticleiLogic: Delete All Sick Assembly Constraints
Issue:You sometimes end up with a large number of broken (sick) assembly constraints, due to a particular workflow (such as swapping out a base component). You know why this is happening and don't mind...
View ArticleRule Fillet Incident Edges For Machined Corners
Issue:You want a way to quickly add and update rounded corners that are cut with a particular size end mill when creating CNC router cut parts.Solution:Although the Rule Fillet tool is located on...
View ArticleDetermine File Type for iLogic Rule
Issue:You need your iLogic code to check to see if the file type is a part file first, before running. Otherwise it generates an error. Is there a way to do this?Solution: Here are a couple of quick...
View ArticleTurn On/Off all Workfeatures with iLogic
Issue:You have other members of your design team that do not remember to turn off work features at the part level or sub-assembly level when they are done working with those files. As a result file...
View Article