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


ADVERTISEMENT

AutoCAD Inventor :: Activate Master View Of A Part?

Oct 10, 2013

I have a macro to change the thumbnails of a part, but my parts have not always the "Master view" active. 

How can I activate a view by code? Get control of your sheet metal files at [URL]

View 1 Replies View Related

AutoCAD Inventor :: ILogic Rule To Change Drawing View Layer

Jul 22, 2013

I am trying to piece together some code for an ilogic rule. This rule should look for a drawing view that is a flat pattern, if it finds one it should change the object layer to our "CNC" layer.

View 3 Replies View Related

AutoCAD Inventor :: Convert 2012 View Scale From 0.5 To 1:2 Or Similar Within ILogic Rule?

Jul 2, 2012

Is there a way to convert an Inventor 2012 view scale from "0.5" to "1:2" or similar within an iLogic rule? I can extract the main view scale and plug it into a variable but the format isn't correct for the drawings I'm creating.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Rule - User Input Brings Up Drawing View Dialog Box

Jan 30, 2013

Currently have an iLogic rule in my drawing template that base on user input brings up the Drawing View dialog box (as though you click on base view).  I want to know if there is some coding I can do to control or handle what happens if the user clicks the cancel command inside this dialog box.  Possibly show a message box. Or even run another rule after the cancel button has been clicked?

View 1 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 :: 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

VideoStudio :: Activate Scroll Line When Playing Clips In Storyboard View?

Jan 15, 2011

how I can activate the scroll line when playing my clips in the Storyboard view.

VS pro X2 has this feature, but I'm unable to find it in VS proX3. It's impossible to see which clip is being played let alone be able to edit.

View 9 Replies View Related

AutoCAD Inventor :: Could Not Activate Rip Command

Jan 17, 2013

After deleting some rips and corner seams on my model, I can no longer create rips, unfolds, or refolds.  They all come up with the same message as shown in attached picture. 

View 3 Replies View Related

AutoCAD Inventor :: How To Activate Tab On The Ribbon

Mar 31, 2010

How to activate specific Tab on the Ribbon by VB.Net code? Exist any way how to "bring to front" my own Ribbon Tab?

View 4 Replies View Related

AutoCAD Inventor :: How To Activate Macros In 2012

Mar 4, 2013

Macros in inventor drawing are not activating or it is not automatically generating vba codes.

when creating macros and i assign dimensions to objects but the macros are not generating any codes.

View 3 Replies View Related

AutoCAD Inventor :: Activate 2Dsketch Command Using VBA

Sep 11, 2013

How to activate/execute 2dsketch command using vba?

it would be identical to just pressing the sketch button.

i need the code to add to the macro im creating.

View 7 Replies View Related

AutoCAD Inventor :: How To Activate Content Center

Jul 12, 2013

I want to insert a conical slot in a part file, or a part in an assembly which i edit in place.

I was told to activate content center, but how?

I don't find the button.

View 2 Replies View Related

AutoCAD Inventor :: Check Box To Activate Dates In Form?

Dec 5, 2011

I'm trying to setup a custom form that matches my company's title block information.  My desired end result is to eliminate the need to open the iproperties (some users find it confusing/inconvient).  I have a seperate tab for the check/status information listed in the "status" tab of the iproperties.  In the iproperties, these are activated and deactivated with a check box.  When I add these properties to my form, I have the ability to open a calendar but I have no way of knowing if the date is activate or not.

I saw in another post, that a ticket was opened to added the material selection to the options in forms.  Could this functionality be added as well?

View 1 Replies View Related

AutoCAD Inventor :: Activate Enter In User Form?

Aug 1, 2013

I have created a new form  using three fields, to show quantities, job no etc. and was wondering what code I need to use to be able to push enter after filling out a field and then jumping to the next field?

View 4 Replies View Related

AutoCAD Inventor :: Could Not Activate Rendering Icon To Access Studio

Jan 30, 2012

Just started the rendering tutorials. Opened a iam file but could not activate the rendering icon to access inventor studio. Tried several iam drawings even created a simple one. how to get this feature to work?

View 5 Replies View Related

AutoCAD Inventor :: Activate Vault Check In Box Hidden And Pass Predefined Options?

Aug 2, 2013

Im working on a program that checks out syncronizes some data with our erp system and then checkes in the files again to vault. all works fine but in vault all links to other files are gone? when i checkin the files from inventor manuel then the links are ok in vault. therefore i wonder if it is possible to run the vault checkin dialog "hidden" and just pass in some predifined options and checkin to vault.

View 8 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 :: ILogic Drawing Rule

Jul 18, 2013

I have a rule setup for drawings. I need the rule to first determine if the there is a flat pattern view present. In other words, if there is no flat patter view, I want to the rule to stop.

I am very green to ilogic and VB. Running Inventor 2013.

View 2 Replies View Related

AutoCAD Inventor :: Add Rule To All Parts In Assembly

Aug 29, 2013

I have a three part question. First, I have an iLogic routine in an assembly that opens all the parts within the assembly, runs a particular rule, and then closes that part. Is there anyway I can get this to run in the background. I don't want my users to see all of my part files opening and closing.

Here is my
 
'assign path values in iproperties to be equaliProperties.Value("RD FLANGE:1","Custom", "FilePATH") = iProperties.Value("Custom", "FilePATH")Dim FilePATH As String = "FilePATH"customPropertySet = ThisDoc.Document.PropertySets.Item _("Inventor User Defined Properties")Try prop= customPropertySet.Item(FilePATH)Catch customPropertySet.Add("", FilePATH)End TryIf
[code].....

My second question is how do I add a routine that as the part files are opened checks to see if "MyRule" is there. If "MyRule" is not there add "MyRule" else if "MyRule" exist move on to the next part.

My third and final question is there anyway for my code to distinguish between standard parts and sheet metal parts. Basically, if the opened part is not a sheet metal part then I do not want "MyRule" to be inserted and I do not want "MyRule" to be run. I want it to move on to the next part within the assembly.

View 5 Replies View Related

AutoCAD Inventor :: Adding ILogic Rule Using API

Oct 5, 2011

I've caught glimpses of how to do this (For instance, this plugin (Inventor LinkParameters)  [URL]...... when trying to actually find information on any documentation of how to get from point A to point B. I can't seem to find anything about ilogic automation / rule creation / ilogic in general, in the object browser at all. 

I know code like this exists

Option ExplicitSub RuniLogicRule()Dim iLogicAuto As ObjectSet iLogicAuto = GetiLogicAddin(ThisApplication)If (iLogicAuto Is Nothing) Then Exit SubDim doc As DocumentSet doc = ThisApplication.ActiveDocumentDim ruleName As StringruleName = "Rule0"Dim rule As ObjectSet rule = iLogicAuto.GetRule(doc, "Rule0")If (rule Is Nothing) Then Call MsgBox("No rule named " & ruleName & " was found in the [code].......
 
(and even fixed the error it gave me due to the original code leaving something out) , but any info on the GetRule method is. 

View 3 Replies View Related







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