AutoCAD Inventor :: ILogic Rule To Switch Revision Table Sizes Defined In Styles

Oct 28, 2011

I have a rule in the .idw drawing template, that displays a dialog box asking for the size (A, B, C, D...).  Once the size is selected, it displays the appropriate border and title block.  There is a small & large title block, so an A or B size gets the small, and a C or larger gets the large.  This works great.

My question is, how can I have the appropriately sized Revision Table (small or large), automatically ready for use, based on the drawing size?  The (2) Revision Tables are defined in the Styles library.

Product Design Suite Ultimate 2014 | Vault Basic 2014 (SP1)
Dell Precision M6600 | Intel i7-2820QM - 16GB
nVIDIA Quadro 4000M | Windows 7/64 Pro

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Rule To Switch Units In Drawing Between Imperial To Metric

Apr 22, 2013

I would like a few rules to be triggered once the new drawing template is opened.select sheet size, I have been given a rule that already works, basically the rule selects a border and title block based on sheet size selection.

trigger = iTrigger0iLogicForm.Show("BorderChange", FormMode.Modal)iLogicVb.UpdateWhenDone = TrueIf Parameter("BorderSize") = "A0" Then ActiveSheet.ChangeSize("A0", MoveBorderItems := True)ActiveSheet.TitleBlock = "MJTD A0"ActiveSheet.Border = "MJTD A0.
[code]....

I would also like a rule to let me annotate in metric or imperial. this is where I require assistance. I am not sure the best way to achieve this rule. My programming is very basic.I have found some links here, but I can't seem to make them work in the drawing environment. Also these rules seems to change the units of an already created .ipt.

Rule #1 Link

Rule #2 Link

I am just looking for a rule to select either .in or mm from the styles library(i think) , before I even place a base view. Regardless of the original units used to make the model.

View 2 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 To Switch Between IAssembly Table Rows

Mar 28, 2012

I have created two table rows in an iAssembly that I would like to have a iLogic code written for.

What do I need to use to trigger between these two, when, for instance, a certain numeric value is entered in the parameters?  Within the assembly file, when I use the iPart.ChangeRow (or iAssembly.ChangeRow) and put the . I am filename in the first spot, it says it cannot find the file.

This is what I am using, and the error states it cannot find the . i am file I am referencing.
 
IfParameter("Window_Cutout_Vertical")<=1AndParameter("Window_Cutout_Horizontal")<=1TheniAssembly.ChangeRow("A60_RHR_Door_Assembly.iam", "A60_RHR_Door_Assembly-02")ElseIfParameter("Window_Cutout_Vertical")>1AndParameter("Window_Cutout_Horizontal")>1TheniAssembly.ChangeRow("A60_RHR_Door_Assembly.iam", "A60_RHR_Door_Assembly-01")EndIf

View 7 Replies View Related

AutoCAD Inventor :: Invoke ILogic Rule Editor And Pass It On Existing Rule Name?

Jan 7, 2014

Is there a way to invoke the iLogic Rule Editor and pass it an existing rule name or external rule for editing?

View 4 Replies View Related

AutoCAD Inventor :: ILogic / Run Assembly-level Rule From Component Rule?

Aug 2, 2013

I need a way to run a rule which is saved in my top-level assembly using iLogic rule which is saved in a part file in the parent assembly.

I have even tried using an external rule in a txt file, but that gives the error "Component: This function can only be used in an assembly."  - which makes no sense to me.   I hope I am just missing something simple.  I cant believe with all its other strengths, that iLogic would be so limited in that regard.   Why is there not simply a snippet under the 'Run Other' that allows you to specify an assembly file and the rule name?  (like there is for running a rule in a component from the assembly)

View 4 Replies View Related

AutoCAD Inventor :: Run Ilogic Rule In Each Part From The Assembly Via External Rule

Dec 6, 2011

I want to simply set a custom iproperty as the Description in each part file within my assembly.  I can do this easily at part level with ilogic but I want to be able to run the rule from the assembly level and all the parts run the rule.  I am struggling to find a way to do this.

I think this may be the best method I have found but I think it must be far easier?

[URL].......

View 9 Replies View Related

AutoCAD Inventor :: ILogic Design - Why Work With Local Rule But Errors On External Rule

Dec 9, 2011

I am working for customer with a simple item with his iLogic design. He has created a simple form to modify his iProperties. To modify the current material, a multi-value parameter was created and the following rule as a local rule;

"MultiValue.List("MATLIST") = iProperties.Materials
iProperties.Material = MATLIST"

He is now trying to make this an external rule but gets the following error

Error in rule: Mat2, in document: Mat2.iLogicVb
iProperties.Material: is probably a bad material name.

The more info tab says:

System.ArgumentException: iProperties.Material: is probably a bad material name.
at iLogic.CadPropertiesInRule.SetDocMaterial(Document doc, String matName)
at LmiRuleScript.Main()
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

View 2 Replies View Related

AutoCAD Inventor :: Close ILogic Form With VBA Or ILogic Rule

Aug 19, 2013

how can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?

View 5 Replies View Related

AutoCAD Inventor :: Delete Revision Table

May 6, 2013

I'm simply trying to delete the revision table if it exists on a drawing.  I did find where you can't do anything with Rev Tags with the API, but what about the Actual Revision Table? 

Trying to get this to work;
 
If iProperties.Value("Project", "Revision Number")>0Dim oRevTable as RevisionTableoRevTable = ActiveSheet.Sheet.RevisionTable.Item(1) oRevTable = nullRevisionTable

View 2 Replies View Related

AutoCAD Inventor :: Can Split A Revision Table

Oct 11, 2011

I 'd like to keep the old Revision table rows available , but off the sheet rather than delete all the rows & start from , let's say, Rev 10.Is this possible in 2012?

Inventor Suite 2013 Ultimate

View 6 Replies View Related

AutoCAD Inventor :: Set Revision Table Row To Static - Add Row

Aug 28, 2013

I have never attempted any i-logic before and this may be running before I can walk, but I was wondering if this premise even sounded do-able.  I would like to create a rule to set the last row of my revision table to all static values, and then add a row. 

View 5 Replies View Related

AutoCAD Inventor :: Revision Table Not Update By VBA?

Dec 3, 2012

I tried to add a revision table by vba routie. useing fllowing code

Dim oRevStyle As RevisionTableStyle        
Set oRevStyle = oDoc.StylesManager.RevisionTableStyles.Item("Revision Table_NEW")
Dim oRevTable As RevisionTable        
Set oRevTable = oDoc.ActiveSheet.RevisionTables.Add2(oPoint, , , , , oRevStyle)

It adds revision table is not shown correct in the drawing. I have to manually select certain style in the drawing.

I try doc.update or view.update. it doesnt work.

Autodesk Inventor Professional 2014
Autodesk Product Design Suite Standard 2013
Microsoft Office 2007 & 2013
Windows 7 64bit
Synergis Adept 2013
Visual Studio Express 2010

View 4 Replies View Related

AutoCAD Inventor :: Revision Table / Setting It To Default To 0?

Aug 3, 2012

way to set the default to be 0. When we release a drawing we have it as Rev 0, Released for Fab..

It's a pain having to change it from 1 to 0 for every idw.

Work ~ Inventor Ultimate 2013 SP1.1
Win 7 64bit ~ i7 20gb
Nvidia Quadro FX 1700

Home ~ Inventor Ultimate 2013 SP1.1
Win 7 64bit i7 - 16gb
Nividia GeForce 9800 GT 1GB
240g Kingston HyperX SSD

View 6 Replies View Related

AutoCAD Inventor :: Revision Table For Multiple Sheets?

Nov 20, 2013

is it possible to do an individual revision table for multiple sheet drawings. if you typed in description 'sheet 3 nut changed from m3 to m5......etc' then all the bunf would carry over to every sheet

View 1 Replies View Related

AutoCAD Inventor :: Sheet 2 Revision Table Error

Jul 23, 2013

Just created a 2nd drawing sheet in my IDW, and when i place a revision table it is missing most of the data that is shown on sheet 1. All i get are the description column entries, nothing else.

View 9 Replies View Related

AutoCAD Inventor :: Changing The Revision Table Rev Link?

Mar 13, 2012

I have a situation where I just created brand new drawing templates and they have the revision block inthem already.  The revision block that comes with Inventor.  The vault is driving the revision in the titleblock and when the revision is placed in the revision block it too is linked to the vault. When the drawing is checked into the vault and the lifecycle is changed to "Released" and then back to "WIP" the revision updates.  Both in the titleblock (which I want) and in the revision block which I don't want.  Not only is it change the revision block, but the last revision posted as per the image below.

how do I change the property in the settings of the title block to not get it's revision from the vault or allow it to be manually driven?

View 3 Replies View Related

AutoCAD Inventor :: Revision Table Description Justification

Jul 13, 2009

is there a way to set the justification to left in the revision table justification? I've tried playing with the formats and I can't get it to do anything but be centred.

View 9 Replies View Related

AutoCAD Inventor :: How To Insert Symbols In Revision Table

Feb 16, 2012

I am trying to insert "Depth", "Counterbore", etc. Symbols  in a revision table, but can't find ALT + XXXX for them. I did find the symbols in the Windows character map in AIGDT font group and they have Character codes but no ALT + codes? How to insert these symbols in a rev table?

View 1 Replies View Related

AutoCAD Inventor :: ILogic On Drawing Add Revision Row

Sep 17, 2013

Is there a way to add a revision row with I-logic?

Inventor 2013

View 2 Replies View Related

AutoCAD Inventor :: Save PDF Using ILogic And Name After Revision Number?

Jul 7, 2011

My question: We want to use iLogic to save a PDF-file of the DWG-drawing every time we hit "save". We now use the following iLogic

Spoiler (Highlight to read)oPath = ThisDoc.Path PN = iProperties.Value("Project", "Part Number")
PDFAddIn = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")
oDocument = ThisApplication.ActiveDocument
oContext = ThisApplication.TransientObjects.CreateTranslationContext

[Code] .....

View 9 Replies View Related

AutoCAD Inventor :: Use Application Option / User Name In Revision Table Column?

Mar 18, 2012

Is there any way you can use the "Application option" "user name" in a revision table column?

The "APP'D" by "Author" is not very useful considering most changes are done by various people.

If this is not an option could it possibly be added?

View 8 Replies View Related

AutoCAD Inventor :: Standard Revision Table Location In Drawing Template?

Jun 26, 2012

Inventor 2013-

Is there a way to pin or standardize where a revision table is located in a drawing?

I have a title-block set up and would like a revision table either embedded or populated upon command, just above my title-block. It would also need to extend upward with additional revisions...

View 4 Replies View Related

AutoCAD Inventor :: 2014 Crashes While Executing Revision Table Edit?

Dec 21, 2013

Inventor 2014 crashes when executing revision table edit. This started after installing windows 7 SP1(x64) and SQL server 2012 express (x64). 

View 1 Replies View Related

AutoCAD Inventor :: ILogic Access To Drawing Sheet Revision

Sep 27, 2012

how to access the drawing sheet revisions using Ilogic.My company is wanting to start making the default initial rev on a drawing a "-" and inventor does not like to keep this when brought in as a template.

So like normal I am trying to trick it into having the dash until a rev is actually added. 

View 1 Replies View Related

AutoCAD Inventor :: Non-Defined (Dynamic) Arrays In ILogic?

May 23, 2012

Is there a way to declare a non-bound array (dynamic array?) in iLogic?

There are examples of set bounds array:

MyDoubleValues = New Double(){1.2,2.2,3.3}

But doing something like:

Dim MyDoubleValues() As Double  ---Or---  MyDoubleValues = New Double()

Results in an error. On the other hand, the following totally works:

Dim MyDoubleValues(1) As Double

Which creates an array with a Ubound of 2

View 1 Replies View Related

AutoCAD Inventor :: Revision Block - ILogic - Design Tracking Properties?

Jun 21, 2012

Inventor 2012, DWG drawing file Revision table - iLogic

Using iLogic, how to extract data from "Design Tracking Properties" in a revision table to an embedded or linked Excel spread sheet? Design Tracking Properties like "Today's Date", "Designer", "Checked By", "Eng Approved By" are of great interest.

View 4 Replies View Related

AutoCAD Inventor :: Duplicate Materials In Sheet Metal Rule Styles

Aug 3, 2012

So I'm in the midst of redoing my Sheet Metal Rules, and custom materials, since the update to 2013 kind of destroyed that.  I created a new material library, to house all of my custom Materials in.  I set it to be the only Material Library in the project, so now when I open up a file in that project, I only see my Custom material list, and that works fine when I go into the iProperties as well, the material list shows up correctly.

But when I go into the Styles Editor, and go to add my new custom Materials to my Sheet Metal Rules, the list of materials is shown in duplicate.  I have attached a couple of screenshots of me opening the iProperties, and the Sheet Metal Rules in the same file.

View 3 Replies View Related

AutoCAD Inventor :: How To Create A Rule In ILogic

Apr 18, 2012

I want to create a rule that will warn the user when the plate thickness they are using is not standard.  I have already created a multivalue parameter for plate thickness, which lists all standard steel plate thickness's and also allows for custom values.

I was hoping I could create a rule that would prompt a dialogue box warning when the user creates a custom value for plate thickness.

I know this can be done,  but like I said,  Im bloody useless with iLogic and find it hard to come across relevent examples and/or tutorials online.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Save As PDF Rule

Oct 24, 2012

I'm currently using this rule for easy PDF making

SaveLoc = "C:Temp"FileName = ThisDoc.FileName(False)Revnr = " rev_" & iProperties.Value("Project", "Revision Number")PDFnaam = SaveLoc & FileName & RevnrThisDoc.Document.SaveAs(PDFnaam & (".pdf") , True)MessageBox.Show("PDF is aangemaakt in C:Temp", "Document creation",MessageBoxButtons.OK,MessageBoxIcon.Information)

 The problem with this is that i want to save without lineweight? is there anyway to do this with this code?

View 2 Replies View Related

AutoCAD Inventor :: Running A Sub In ILogic Rule?

Sep 5, 2012

I have an ilogic rule with multiple Subs. How could I run one specific sub contained in that rule from an iLogic form or another rule?

View 2 Replies View Related







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