AutoCAD Inventor :: ILogic And ITrigger To Prompt Size And Material Changes?

Oct 23, 2013

I am interested in Learning about Ilogic and the Itrigger. I worked at a company where they had a prompt that would change, size, material, hole quantities etc. I am trying to recreate that for a cabinet but cannot seem to find a good tutorial, I know I need to write some sort of rule to do this but cannot find out specifcally how to do so.

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Rule To Populate Finished Material Size Based On Model Geometry Selection

May 23, 2012

I created the following user parameters:

-Thickness
-Width
-Length
-Dia

I then created a Custom iProperty which consisted of the following "formula":    Finished Material Size = <Thickness> x <Width> x <Length> Lg.

eg. of Finished Material Result :        Finished Material Size = 6 x 25 x 300 Lg.

The problem comes up when dealing with diametrical components as the above formula will only populate for square or rectangular parts. Which would work if I could use iLogic code to populate the Finished Material Size iProperty. I have tried but failed.

First I created another user parameter called "Geometry Type" which has a drop down selection of either "DIA" or "SQUARE, RECTANGULAR".I then created the following iLogic code to set 0 as the value for the "unused" size parameters

 If PART_GEOMETRY = "DIA" Then WIDTH = "0"If PART_GEOMETRY = "DIA" Then THICKNESS = "0"If PART_GEOMETRY = "SQUARE, RECTANGULAR" Then DIA = "0"
 The part I just can't get to work is as follows.

I need some iLogic code which will populate the "FINISHED MATERIAL SIZE" custom iproperty with one of the following based on my "GEOMETRY TYPE" selection. "DIA" would return the following to "FINISHED MATERIAL SIZE":      = Ø <Dia> x <Length> Lg.

While "SQUARE, RECTANGULAR" would return the following to "FINISHED MATERIAL SIZE":     = <THICKNESS> x <WIDTH> x <LENGTH> Lg.I tried the following code but it does not work:

If PART_GEOMETRY = "DIA" Then iProperties.Value("Custom", "FINISHED MATERIAL SIZE")= "Ø"DIA "x" LENGTH "Lg."If PART_GEOMETRY = "SQUARE, RECTANGULAR" Then iProperties.Value("Custom", "FINISHED MATERIAL SIZE")= THICKNESS "x" WIDTH "x" LENGTH "Lg."

View 2 Replies View Related

AutoCAD Inventor :: ILOGIC For Part IProperty Prompt?

Jun 6, 2012

I am trying to find an ilogic for part proparty entry as soon as I create new part/assy.

I know it is possible by Event triger-> New Document .

View 9 Replies View Related

AutoCAD Inventor :: Sketched Symbol With Prompt Text And ILogic

May 16, 2012

I have created a Sketched Symbol "Replace by" with a prompt text where I must write the new drawing number.

I'm trying to use Ilogic function to copy the Prompted text into a custom drawing iProperty.

Here is the code :

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:    3471 StartFragment:     314 EndFragment:    3439 StartSelection: 314 EndSelection:     314
SyntaxEditor Code Snippet
SubMain()oInvDoc=ThisApplication.ActiveDocument
ForEachoSymbolInoInvDoc.ActiveSheet.SketchedSymbols
IfoSymbol.Name="Replace by"TheniProperties.Value("Custom", "Replace by")=???????EndIfNext
End Sub

I work  with IV 2012

View 1 Replies View Related

AutoCAD Inventor :: Using Material IProperties In ILogic Forms?

Aug 3, 2011

I'm trying to build a simple ilogic form to fill out iproperty infomation for parts we generate.  Our company only uses a few of fields that are available.  The problem is that the Physical tab is not available in the form editor.  I would like to add this field to my form to be able to select the material for the part.  The style/standard editor in our part template file holds all materials we use.  Summary, Project, Status, and Custom are all available, why isn't Physical? 

View 9 Replies View Related

AutoCAD Inventor :: ILogic Material Change Failure?

May 23, 2012

The attached part has some bad work features on it, but I don't care about that (easy fix). It also contains a rule that simply changes the material from "P AND O" (pickles & oiled) to "201 S/S", for some reason the faulty work geometery causes this rule to throw an "unspecified error". If you delete the bad work geometry the rule runs fine.

View 2 Replies View Related

AutoCAD Inventor :: Material Pull Down Not Updating After ILogic Routine

Sep 25, 2013

The following rule works perfectly as an external rule except the Materiial and Appearnace pull downs do not update. I know I am missing something easy. Here is my code

'Set the materials libraryassetLib = ThisApplication.AssetLibraries("iLogicTestMatLib")'Set the current document activeoMy Parameter= ThisApplication. ActiveDocument.ComponentDefinition.Parameters.UserParameters'Turn off error reporting on parameters and.
[code]....

View 3 Replies View Related

AutoCAD Inventor :: ILogic Material Properties Change (2010)

Oct 12, 2011

why the script below doesn`t change Physical material properties? It changes the thickness of the part, but not material properties on the BOM...

ShThk = InputListBox("Sheet Thickness", MultiValue.List("ShThk"), ShThk, Title := "Choose Thickness", ListName := "Thickness")

' material thickness from multi-value parameter called ShThk
    
    If ShThk = 0.3125 Then
    SheetMetal.SetActiveStyle("5/16"& Chr(34))
    Else if ShThk = 0.25 Then
    SheetMetal.SetActiveStyle("1/4"& Chr(34))
    Else if ShThk = 0.1345 Then
    SheetMetal.SetActiveStyle("10ga")
    else if ShThk = 0.105 Then
    SheetMetal.SetActiveStyle("12ga")
    else if ShThk = 0.1793 Then
    SheetMetal.SetActiveStyle("7ga")
    End If

View 3 Replies View Related

3ds Max :: Material Library Changes Prompt On Exit?

May 9, 2011

The studio I'm working is an early MAX 2012 adopter and, overall, I think it's better than 2011 but still not rock solid or bug-free. Let the hotfix-fest begin.

What I'm wondering is: why is it always prompting me if I want to save the changes made to the materials libraries I've opened (even if I haven't made a single change...) on exit, after the save file prompt?

This is getting ridiculously annoying since I sometimes open up 20-30 material libraries per scene and it asks ONCE PER EVERY LIBRARY (and can't seem to find an option to remove the prompt or "never ask again" tick)

Also, this happens with the simple/classic material browser (can't see why slate is so great...)

View 9 Replies View Related

AutoCAD Inventor :: ILogic Snippet - Change Hatch Pattern In Section Of Specific Material In IDW

Dec 13, 2012

I am completely new to ilogic but would like to make a rule in my idw file that change the hatch pattern in a section of a specific material.

Short Version:

I have an aluminum extrusion part. Material is set to Aluminum-6061. In any section view of this part I want the hatch to be ANSI 31 with a rotation of 45 degrees and a scale of .02 How do I do this?

View 1 Replies View Related

AutoCAD Inventor :: Controlling Break Size Using ILogic?

Oct 14, 2011

I have an assembly drawing which requires a break in the drawing view due to its height. The drawing view scales accoring to the change in height (so it remains the same physical height on the drawing), however I need to be able to increase/decrease the height (or value) of the break linearly to the height of the assembly.  

I had a look at the ilogic 'break sample' and tried to adapt it to my needs, however, i couldnt get it working. I am using Inventor 2012.

View 4 Replies View Related

AutoCAD Inventor :: ILogic Size Of Displayed InputListBox

Feb 3, 2012

Looking at using ilogic to display and populate a custom field of available finishes for my products.. I'm using the InputListBox message box and its working BUT I would like to know how to make the actual list box larger (wider to be exact).

sadly running 2014 Product Design Suite Ultimate
Windows 7 64 bit
90G OCZ SATA 3 SSD (My SSD is faster than your HDD)
Core I7 920 processor, ATI HD6970 graphics card, 12G Corsair RAM

View 2 Replies View Related

AutoCAD Inventor :: Use ILogic To Set Size And Length Of A Part

Oct 26, 2011

I have created a ilogic rule that should set the size and the cut length of my parts. Most of the time the rule behave as I want it to. But sometime it gives me a error. See attached picture. By the way, I have included this rule in my custom content center parts (beam's etc). The rule is:

'Turn off workfeatures
ThisDoc.Document.ObjectVisibility.AllWorkFeatures = False

'check if the part has any geometry
If Measure.ExtentsLength="0" Then
[code]........

View 9 Replies View Related

AutoCAD Inventor :: Custom Sheet Size Using ILogic

Jan 15, 2013

I made a form that allows the user to enter in a custom sheet size.  Using the API I am changing the Drawing Sheet Size Enumerator to the Custom Sheet size which allows the user to enter in custom values.  That part is all working fine.  My problem is that when a custom size is used in my title block it says that the size is "Custom Size (mm)".  I know that the API uses cm for the sheet size units so I have the code convert the values into cm. 

In the sheet settings window built into inventor it has the option for Custom Size (inches) and Custom Size (mm).  How do I change whether it is inches or mm?

View 5 Replies View Related

AutoCAD Inventor :: Change Printer Paper Size With ILogic

Jun 28, 2013

I have created the code to print out the pages from a drawing using Ilogic and the Print Manager.However, I cannot get the ilogic code via the Print Manager to change either the orientation OR the paper size to suit the print out.

For example, If I have an A3 drawing i can create the Ilogic code for the Print Manager to select the page size of A3 (kPaperSizeA3) within the code, but when I run the code the printer will ONLY select the Default of A4 paper.

The A3 paper is in a different tray but I cannot get the Print Manager to Select the A3 Paper.The printer we are having this issue with is a HP LaserJet 5200...We are also having the same problem of Printing out 1:1 Scale drawing to an A0 Plotter.  I cannot get the Print Manager to change the Output Page Size either.

This is for a HP DesignJet 430...I have just tried to use the iLogic Snippet for Printing, and if you change the page size to suit A3 (kPaperSizeA3), the printer asks for a paper size of 312mm x 210mm....  This was with the HP LaserJet 5200.

how to get the Printer output paper size changed through the Print Manager.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Automatic Print With Right Sheet Size

Nov 6, 2012

Dont have a before print Event Triggers . I want to make a rule with automatic print with a right sheet size, but in all my try don't work

that is my last one

'Dim oDraw As Document
oDraw = ThisApplication.ActiveDocument
oDrawDoc = ThisApplication.ActiveDocument
oDrgPrintMgr = oDrawDoc.PrintManager
[code]........

View 9 Replies View Related

AutoCAD Inventor :: Control Break Size In Drawing View Using ILogic?

Feb 24, 2011

is there any way using iLogic or other method to automatically control the size of the 'break' in a drawing view? I have built a model which uses iLogic to control virtually everything, however the large variations in the length of the product mean that there are some interesting results when it comes to the broken drawing views updating.

it would be nice to locate the break at the absolute center of the view and then size it as a percentage of the view size along one axis or perhaps according to some other length based rule.

Dell Precision M6400 - C2D 2.66 / 8gb / Quadro FX3700M / Win 7 Pro x64

View 9 Replies View Related

AutoCAD Inventor :: ILogic - Reposition Revision Table On Sheet Size Change

Sep 24, 2012

a customer has a title block with a revision table ( standard vault revision table)  add on top of it.

If you change the sheet size the revision table remains his position.

If found the way to reposition the table with a ilogic rule.:

'point afstand in cm
PointX=(ActiveSheet.Width/10)-13
PointY=5.5
'punt vanaf rechtonder gemeten in cm

[Code]....

This is working perfectly. But now the challange how to trigger this rule to run if you change the sheet size?

if tried:

trigger=Activesheet.size

or

to create a userparameter and added this line in my rule : Size=ActiveSheet.size, normaly is you change parameters it triggers the rule to rule. but both way didn't work.

Can event triggers from the API be used?  Do i need the "Onchange" event? Any example for a ilogic rule?

View 3 Replies View Related

AutoCAD Inventor :: ILogic - Change Size Of Custom Content Center Part

May 10, 2013

I'm looking for a way to change the size of a custom content center part via ilogic. I found a way to replace them on this forum but this is not ideal for, because that creates a new part every time i change the size of the part.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Blank Size Custom IProperty Using Flat Extents Length And Width

May 7, 2012

I want to have a Blank size custom iproperty using flat extents length and width this is what i did but gives error is there a way to get this to work the way I want it to? I dont want a Length and width to be seperated would like it all in one.

iProperties.Value("Custom", "BLANK SIZE")=Round(SheetMetal.FlatExtentsLength, 3)"X"=Round(SheetMetal.FlatExtentsWidth, 3)

View 2 Replies View Related

AutoCAD Inventor :: Cannot Delete Unused Material In Material Editor

Nov 2, 2013

I can delete every unused material except one in the Material Editor.I am trying to make the custom Material library and somehowI have got the Material I cannot delete. URL....

View 9 Replies View Related

AutoCAD Inventor :: Adding Material And Texture To Material Library?

Mar 12, 2013

I am in the samill building buisness.  While designing I thought it would be nice to show logs on our equipment.  Is there anyway to show bark on drawings to show the texture on the final drawing?

View 1 Replies View Related

AutoCAD Inventor :: Create A Prompt Box In IPT?

Jul 31, 2012

I am trying to come up with an easy way to input information for basic objects that we need for sales drawings. Is there a way to create a prompt(length, width, Diameter etc.) so when you open the .ipt it pops up? Anything a little more organized than the parameters box? I've done an excel sheet in the past for certain things, but didn't want to carry and excel sheet over for this option.

Inv 2011
Windows 7
Inventor 2011
Intel Core 2 Duo 2.93GHz
8GB RAM
Windows 7 Pro

View 6 Replies View Related

AutoCAD Inventor :: Prompt File Name IPT?

Feb 26, 2013

How can I add a rule so everytime I open a new .ipt the user have to type the file title and when saving the file the name of the .ipt is the same the promted entry?

Is it something like this?

Filename = iProperties.Value("Filename", "Title")
Filename = InputBox("Please type title", "Title",Filename)

I have the rule tp tripper when I open the file.

View 1 Replies View Related

AutoCAD Inventor :: Derive Prompt Not Working?

Feb 10, 2013

yesterday when I clicked on "Derive" while in a part file I would get a browse window to select the part I wanted to derive, after this a prompt would come up that asked if you wanted the part to be a surface or a solid, if you wanted to scale it, etc. For some odd reason today when I tried to derive a part it doesnt come up anymore. After I select the part it just gets inserted and to keep it I have to hit enter or right click and select "ok". Not sure why the prompt stopped popping out, havent changed anything.

Inventor Professional 2013
Autodesk Inventor Professional 2013

View 5 Replies View Related

AutoCAD Inventor :: Turn Off Prompt In 2012?

Oct 8, 2013

I wan to turn this prompt off...period.  Not fix it, just turn it off. 

"The location of the selected file is not in the active project. To ensure that the file can be found when you open files that reference it, add the location to the project or move the file to a location specified in the project."

Looked through options, changed approproate setting to "Never". Still prompts.

View 9 Replies View Related

AutoCAD Inventor :: VBA And IPart Update Prompt?

Jul 12, 2011

I have a macro that changes the active material for each member of an ipart (this is done when i am editing the iparts).

My problem is that it constantly prompts that the table differs from the part and do I want to copy the information back to the table.

I want to stop this prompt and have it automatically set to "Yes". I can use the silent operation option but it defaults to "No" for some reason which makes the macro go to the next member without setting the material back into the table.

View 1 Replies View Related

AutoCAD Inventor :: Prompt For Parameter Entry On Open

Jan 29, 2013

I am going to be saving a template with one of my custom frame profiles from the content center already placed in it. I'll place it say 100" long, just an arbitrary number. How can I create a dialogue that pops up when I open the template file, it asks me for the value of 3 variables, then changes the length of my content center frame rail to the sum of those 3 variables? I've seen pop-ups before and know how to set the rule, I'm just not sure how to change the parameters..

View 5 Replies View Related

AutoCAD Inventor :: Previous Version Was Migrated Prompt

Sep 12, 2013

Our Engineering department just switched over to Product Design Suite 2014 and Vault Professional 2014. The entire vault database was migrated during the upgrade process, which is fine but It now causes me an annoying issue. Every file that was migrated and has not yet been opened with the new software  has this prompt that alerts me that the data format has been changed. Is there anyway I can turn off this prompt? I know the files have been migrated I really do not need to be reminded everytime I open a file its very irritating and is not a necessary step in my opinion.

 Work Station : Dell Precision R5400
OS: Windows 7 Business 64 Version 6.1.7601 Service Pack 1 Build 7601
Processor Intel(R) Xeon(R) CPU E5405 @ 2.00GHz, 1995 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date Dell Inc. A10, 4/30/2012
Graphics Display Card: ATI FirePro V4800 (FireGL V) 1.00 GB Adapter RAM
Computer Memory: 8 GB ECC RAM

View 5 Replies View Related

AutoCAD Inventor :: Prompt User To Select A View When In Macro?

May 14, 2012

I have a macro which

1) checks to see if the active document is a drawing

2) Checks that the drawing is of a part

I want to prompt the user to select a view on the drawing, if this is not the first view on then a warning message is displayed.

Then I want to take this active view and change all of the geometry lines and holes EXCEPT for bend lines to a specific layer.

View 4 Replies View Related

AutoCAD Inventor :: Dismissing / Bypassing Excel Save Prompt

Aug 8, 2012

when I use GoExcel.CellValue (or other similar Excel link) snippet in iLoggic to write on a Excel sheet, I get a save prompt for the respective Excel file.

i.e.

GoExcel.CellValue ("WB1.xls", "Sheet1", "A1") = 1234

(Run Rule)

(I get a message box saying)

"Do you want to save the changes you made to "WB1.xls?"

Yes / No / Cancel

 How can i bypass this message, I would prefer it is can be done through the iLogic Rule?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved