AutoCAD Inventor :: Document Settings With Rule (Form)

Jul 15, 2013

I want to set Default BOM Structure (Document Settings/Bill of Materials) in my own Form (with Rule) for active part/assembly.

This Form (Rule) will be in template. Is there any simple way to do this (picture is in attachment)?

View 8 Replies


ADVERTISEMENT

AutoCAD Inventor :: Close Form From Either ILogic Or VBA Rule?

Aug 16, 2013

how can I close an iLogic Form from either an iLogic Rule, or a VBA Rule?

the full code text required to close a form called "Mr Form"

View 4 Replies View Related

AutoCAD Inventor :: API - Set An Event Trigger For An Ilogic Rule In A Document

Nov 3, 2011

Is there a way to set the event trigger of an ilogic file that's already inside of a document? I have code that can automatically create and populate new rules across my assembly parts, but it would be nice to set certain rules to fire every time that part gets saved. 

If it can't be accomplished outright from the API, would it be possible to throw an OnEvent (save event in this case) inside of the iLogic code, to get the same results? URL...

View 8 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 :: ILOGIC Form Stays Open After Document Closes?

Jul 11, 2012

I have an assembly with a dozen or so rules and a form in it.

After selections have been made on the form, one of the rules saves the assembly as a new assembly (save as).

This closes the first assembly and opens the "saved as" assembly, BUT the form from the first assembly stays open.

It appears the first assembly gets closed so quickly the form does not close also.

I can just hit "done" button on the form to close it in new assembly, but would rather the form close automatically.

Is there code that I can add to close the form ??

View 3 Replies View Related

AutoCAD Inventor :: No Units Tab In Document Settings In IDW

Mar 27, 2012

I want to change the default precision shown in my drawing from two decimal places to three. In my .idw file the "Units" tab does not seem to be there. I see Standard, Sketch, Drawing, Sheet. I could change each dimension one by one, but there's got to be an easier way.

View 2 Replies View Related

AutoCAD Inventor :: Units Command Under Document Settings?

May 21, 2012

Where did they put it in IV 2013?

View 9 Replies View Related

AutoCAD Inventor :: ILogic To Edit Document Settings

Apr 3, 2013

Is there a way in iLogic to change the document setting for an .idw file?

Inventor 2013

View 3 Replies View Related

AutoCAD Inventor :: Document Settings With Respect To Style Library

Feb 21, 2012

If my style library is enabled in project it always refresh definitions whenever i create a document using template and press update the window in snapshot shows up.

Is there any way to do vice versa - i.e. get all these items updated in style library as per the current document setting.

View 5 Replies View Related

AutoCAD Inventor :: Ilogic To Change Drawing Document Settings?

Jun 3, 2013

Im looking to make a simple ilogic rule that can toggle an option in the document settings, the setting I would like to change is the Document settings> Modeling> Participate in assembly and drawing sections

I would like a form to switch the option on and off quickly, its a really usefull function however I know a few of my colleagues wont use if they cant find it easly.

View 1 Replies View Related

AutoCAD Inventor :: Change Document Settings On Several Files At Once - ILogic

Aug 9, 2012

Im adjusting the CAD setup in our company, and therefore im looking for a way do change the document settings on all parts in an assembly (or the whole CAD directory) the easiest way possible.!

I have attached a picture of the setting i would like changed.

Is it possible with some Autodesk task scheduler tools..?

or can it be done with an ilogic rule?

View 4 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 :: Adding Document Settings To Quick Access Toolbar Causes To Crash

May 29, 2013

When I add "Document Settings" to the quick acess toobar it causes Inventor to Crash when I close the active .ipt, idw, etc.

View 6 Replies View Related

AutoCAD Inventor :: How To Run Rule In Part File From Rule In Drawing File

Aug 21, 2012

I am trying to use iLogic to create the file types I need to give to my vendors once I have created a drawing.In the .idw file I have a rule that creates a .pdf file and .dwg file. I also want it to activate a rule I have in the .ipt file that creates a .dxf file.

trigger = iTrigger0oType=Left(ThisDoc.FileName(False),3)GoExcel.Open("S:DRAWINGSFolder Types.xlsx", "Sheet1")For rowPN = 1 To 200 If (GoExcel .CellValue("A" & rowPN) = oType) Then oFile = GoExcel.CellValue("C" & rowPN) Exit For End IfNextoFolder = "S:DRAWINGSNOT RELEASED" & oFileIf Not System.IO.Directory.Exists(oFolder) ThenSystem.IO.Directory.CreateDirectory(oFolder)End IfThisDoc.Document.SaveAs(oFolder & "" &
[code].....

View 5 Replies View Related

AutoCAD Inventor :: Form Picture - Parameter Driven Picture On A Form

Apr 10, 2013

I am working on a form (global) and have added a picture with a parameter and a picture folder underneath. So that the picture displayed on my form will change depending on the parameter value.Here comes the trick. Only text parameters can be used!On the form editor only 'Text parameter' can be selected to drive the picture selection. I actually need an integer, so that i can use my User/Excel parameters from Inventor.

I can work this around with an iLogic rule to equal the value of my string Picture Parameter with the relevant integer Inventor parameter, but the rules need to be run before the pic and the form updates (by pressing the 'Apply' button at the bottom of the form and then the assy updates too. So this takes a couple of minutes)... whereas if it was an option on the form editor then the update would be instant without waiting for everything to update...

Is there a particular reason why the Picture Parameter only can be a text parameter?

View 2 Replies View Related

AutoCAD Inventor :: How To Get Model-document Name For Drawing-document

Feb 11, 2013

I tried to print thisdrawing.modeldocument in a vba sub, but it doesn't work.

View 4 Replies View Related

Illustrator :: Settings When Opening A Document?

Oct 28, 2012

When I open a document that I've worked on previously, Illustrator seems to re-set its tools - presumably to default settings.  For example the pen tool fill is white, the stroke is black, the point is......etc.
 
It's frustrating to have to change these back to the settings that I am currently using for this document.
 
This also seems to apply to the windows down the right hand side that seem to open in default as opposed to how I last left them when I saved and closed Illustrator.
 
I'd sort of assumed that Illustrator would 'remember' my previous settings etc and open in that way.  Is there a way of opening with the same, previous settings?

View 1 Replies View Related

Illustrator :: Printed Banner Document Settings?

Jan 6, 2014

I've been using Illustrator for quite some time now. I recently got an assignment to design a printed banner (bunting), with the end product size of 3' x 8' (feet).
 
I was wondering about the document settings I should put in to illustrator before I start designing.
 
P.S, I'm using Illustrator CS6.

View 8 Replies View Related

CorelDRAW Graphics Suite X5 :: Document Color Settings

Apr 4, 2013

So in document color settings in color management, should the primary color mode be RGB or CMYK? I only print inkets and never send stuff out to a regular  printer.

should all color settings be at RGB if the option is offered?

View 2 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 :: Use Function In External Rule

Oct 28, 2013

I have an ilogic external rule which contains functions that I use from rules in my local assembly document. I'm trying to access the value of a parameter in the document from the external rule's function. Attached is a simple version of what I'm trying to do. If I manually run the external rule, it seems to work just fine, but when I call on the function from a seperate rule, its unable to get the parameter value. I get an error stating, "'Parameter' is not declared. It may be inaccessible due to its protection level."

'this is the external rule. if I run this manually, it works

Public Class test_functionsSub Mainmyresult = ""thisisatest(myresult)MsgBox(myresult)End SubFunction thisisatest(ByRef resultcreated As String)resultcreated = "it worked - " & Parameter("ParameterInDocument")End FunctionEnd Class
 
'this is my rule in the assembly document trying to use the external rule's function

AddVbFile "z_testrule.iLogicVb"Dim external_rule As New test_functionsmyresult = ""external_rule.thisisatest(myresult)MsgBox(myresult)

View 3 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

AutoCAD Inventor :: Delete ILogic Rule Using VBA?

Jul 6, 2011

i have an iLogic rule in serveral files. Now this rule has to be deleted. This should be done with VBA. I can not find any function to delete a rule using VBA.

I found a function iLogicAuto.RunRuleDirect(rule), but not iLogicAuto.DeleteRule(rule) ...

I can not find any documentation for iLogic/VBA.

View 9 Replies View Related

AutoCAD Inventor :: Update The Model Before Run One Rule?

Nov 29, 2013

I made a very simple "Junction" model which could generate different model per input.

My problem is: my model did not update before run "Save File" rule which made the saved model is not correct.

I have to use ilogic rule to save this model instead of "Save As" in Inventor menu.

"Junction" model which include some rules is included.

My current Version is:

Inventer Professional 2013 64-Bit Edition Build 200 release: 2013 SP2.

Autodesk Inventor Professional 2013 (64 Bit) SP2
Windows 7 Professional Service Pack 1
Intel(R) Xeon(R) CPU E5645
12.0 GB Memory

View 4 Replies View Related

AutoCAD Inventor :: How To Trigger An ILogic Rule

Jun 26, 2012

I have an iPart which includes iLogic Rule. When I change iPart by table, iLogic Rules are not triggered.

In iLogic Utilities, there is a button "Rules Triggered by Events", If I use "Any Model Parameter Change", the update need long time, looks like Inventor is "No Response". I like the way "Material Change", but I need "part Number" change to trigger the rules. How can I do it? I tried other events as After Open, Before Save, etc, they are does not work.

View 9 Replies View Related

AutoCAD Inventor :: Run External Rule In Occurrences?

Jan 29, 2013

Is it possible to run an external rule in assembly occurrences?

You have RunRule in Component, But it does not seem to work with external rules

I referenced to occurrences and opened it using ThisApplication.Documents.Open(filepath, False)

Then i tried calling the same external rule. I thought it would run the external rule in the opened file,

but I ended up with a infinite loop on the main assembly.

Is there a way to run your rule in every occurrence with external?

View 2 Replies View Related

AutoCAD Inventor :: Possible To activate A view Rep Using A Rule

Mar 15, 2012

Is it in ilogic possible to check which pos rep that is active using a rule? Is it possible to activate a view rep using a rule?I'd like to do something like: If this "pos rep name" is active, then activate this "view rep name".

View 3 Replies View Related







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