AutoCAD Inventor :: Sheet Metal Defaults (Use Thickness From Rule) - ILogic

Sep 9, 2013

know a rule to check if this dialog box sheet metal defaults "Use Thickness from Rule" is checked, and checked a rule to automatically clear since using a rule amending the plate thickness but if the box is checked catastrophic error occurs, and unchecking the rule works as expected.

View 2 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Rule To Insert Sheet Metal Thickness

May 1, 2013

In my title block I have a material section that pulls to iProperties from the model

One is material, which displays the material used in the model

and the other is manually input by me in the comments section of the model, I typically only use this field for sheet metal description, example, .125 Sheet Metal,  this saves me from a drawing view to show thickness only.

In my sheet metal template I have checked the little box for the thickness model parameter so it will show up as a custom property - model.

So i can display the thickness parameter anytime the sheet metal base view is placed.

My issue is I want the thickness property to have the following with it "Sheet Metal"

But I only want this to appear if the base view is in fact sheet metal, all other parts and assemblies, this field would be blank,

So this is what I want when a sheet metal part is placed:

This is what I want to display when a part is placed:

This is what I get when anything is placed:

Sheet Metal shows up because:

I am looking for a Rule that will only apply <Thickness> Sheet Metal to my title block only if the base view is in fact a sheet metal part. Is this possible??

Inventor Professional 2014-Update 2 - AutoCAD Electrical 2014
Win7-x64 | ASUS P8Z77-V | i7 3770 -3.4 GHz | 32GB RAM |
240GB SSD | nVidia GTX 670 4GB - 320.49

View 9 Replies View Related

AutoCAD Inventor :: Imports Sheet Metal Rule From ILogic?

Oct 3, 2013

Is this possible in ilogits? Imports sheet metall rule from ilogic

View 1 Replies View Related

AutoCAD Inventor :: ILogic Rule For Modeling / Sheet Metal State?

Oct 6, 2011

What is the iLogic rule for identifying if a part is in a "modeling" state or "sheet metal" state?

View 5 Replies View Related

AutoCAD Inventor :: Sheet Metal ILogic Rule Not Executing On Non-rectangular Base Sketch?

Aug 5, 2013

I have a template that I have created, in it I have a rule that changes the stock number and description based on which sheet metal rule is selected.   The weird thing is it works correctly if the first sketch is a rectangle.  If you sketch a circular shape and make that the face it will not work.  It blanks out the values for the stock number and description.  

I'm running Inventor 2014 update 2.

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:   33212 StartFragment:     314 EndFragment:   33180 StartSelection:     314 EndSelection:     314
SyntaxEditor Code Snippet
DimiPropValAsString=""
DimiPropDesAsString=""
SelectCaseSheetMetal.GetActiveStyle()

[code]...

View 1 Replies View Related

AutoCAD Inventor :: Deleted Parameter Thickness Being Inserted Into ILogic Rule?

Apr 3, 2013

When I have a sheetmetal part with an iLogic rule in it and I delete a feature, Inventor sticks this garbage into my rule.

View 7 Replies View Related

AutoCAD Inventor :: Sheet Metal Defaults Dialog Box

Oct 13, 2011

After installing the 2012 Ultimate upgrade I haven't encountered any serious issues until yesterday when I found that my

sheet metal dialog box opens so far in the upper left corner that I can't grab it.  In effect, I can only see the right corner of the box including part of the close button.  All other buttons, including the location where I can drag the box, are out of view and unusable. 

View 1 Replies View Related

AutoCAD Inventor :: Find Sheet Metal Thickness?

Oct 24, 2012

I am looking for a solid way of finding the Thickness parameter of a sheet metal part. I have tried two ways so far:

1. oCompDef.Parameters.Item(Thickness)

This works but if Inventor is installed with a different language pack like German for instance then it fails

2. oCompDef.Parameters.Item(1).Value

This also works but if the user started the part with a normal part template and then converts the part to a sheet metal part down the line, then this method fails.

View 1 Replies View Related

AutoCAD Inventor :: How To Select All Sheet Metal Parts With Certain Thickness

Nov 21, 2012

How to select all sheet metal parts with a certain thickness ? 

I am looking for a sample code to select all sheet metal parts with, for example thickness 0.5 mm.

View 1 Replies View Related

AutoCAD Inventor :: Sheet Metal Rule In Drawing

May 7, 2012

I have setup all our Sheet Metal Rules to be all of our stocked in house sheet metals.  The sheet metal rules are named like:

ALUM 5052 H32 1/2" (Part Number)
ST STEEL T304 3/8" (Part Number)
STEEL 44W 1/8" (Part Number)
etc.

And each rule has the proper thickness, material, and some standardized bend radius's.  I've done this to introduce more uniformity in our designs, and to also allow the designer to put as much information into the model as possible, so that if someone else does the drawings, there is no question as to which material is used.

I now want to bring in the Sheet Metal Rule name into the drawing automatically.  I can't seem to find a way to reference the Sheet Metal Rule directly from the drawing.  What I need to do is pick a standard field in the i Properties (I used Stock Number), and put in =<Sheet Metal Rule> so that now the Stock Number references the Sheet Metal Rule, and then in the drawing I can just reference the Stock Number, and it will come in.

I don't like having to use the Stock Number as a middle man though, as none of our existing models are setup like this.  Is it possible to reference Sheet Metal Rule in the drawing without having to use another field as a placeholder for the information?  

View 7 Replies View Related

AutoCAD Inventor :: Change The Sheet Metal Rule?

Oct 6, 2009

In versions prior to Inv. 2009 the sheet metal rules were contained in the template and in 2009 they are in the styles library. In the past year we have changed some of our material and I would like to be able to look for certain sheet metal rules on legacy drawing and change them to a new one. Both styles are fairly close but I want to keep things consistant going forward. This way I can purge the style if it is not in the style library. Just can't figure out the code for changing the active style.

View 3 Replies View Related

AutoCAD Inventor :: Sheet Metal Rule Parameter

Dec 12, 2012

When our VAR initally setup our system for us he made it so the material selected in with the sheet metal rule would appear as the stock number in the ipropertys. I then set the sheet metal rule so the sheet metal rule material also had our material stock number for each different thickness. This gave me a value that was automatically loaded for drawings.

Now we have migrated to 2013 and in the migration things got mixed up so this no longer happens. I am assuming that when the SM Rule is set it creates a named parameter somewhere. What that parameter is? I am thinking if I go into the parameters of the template and set stock number = to SM Rule parameter I will regain this functionallity.

Inventor Premium 2013 SP1.1
Vault 2013- plain vanilla version
HP G71 notebook
celeron cpu w 4gb RAM and 64 bit system
Win 7 home premium

View 2 Replies View Related

AutoCAD Inventor :: Set Sheet Metal Rules Thickness To A UserParameter Variable

Sep 16, 2011

We are using 2011.I created a VBA tool that populates the FX Userparameters with a Thickness Variable..How do I set the Sheet Metal Rules Thickness to the new new FX UserParameter Thickness Variable?

for example:

The Userparamter variable name is "cab_thk"

Under Sheet Metal Defaults | Sheet Metal Rules | Sheet (Tab)

The Thickness entry should read "cab_thk"

View 3 Replies View Related

AutoCAD Inventor :: Changing Sheet Metal Thickness And Bend Radius

Mar 13, 2012

I wrote an app some time ago that swaps out user parameters that drive sheet metal thickness and bend radius.

it appears to work about 60% of the time when it doesn't it does not give any warning but even though the FX table shows the new user parameters driving thickness and bend radius the "sheet metal defaults dialog" thickness input box is grayed out and shows no value what so ever.  Clicking the Edit Sheet metal rule to display the "Style and Standard Edtior" the Thickness and Bendradius still show the Old userparameters.  See attached Pic.

I am setting the parameters as follows.

Replaced "Chan_Th" with "chn_thk"  in FX Userparameters

then...

[Code]

oSheetMetalCompDef.UseSheetMetalStyleMaterial = True       oSheetMetalCompDef.ActiveSheetMetalStyle.Thickness = sThick

[/Code]

As you can see FX reports the change but sheet metal settings does not.

This code appears to work or not at random.

View 7 Replies View Related

AutoCAD Inventor :: Sheet Metal Rule Material Disappears

Jul 24, 2012

I'm trying to associate a material with a sheet metal rule, however, in the Styles Editor, it won't let me save a material to any sheet metal rule other than Default. If I set a material, then switch to a different rule, then switch back, it sets the material to blank.

View 6 Replies View Related

AutoCAD Inventor :: Remove Sheet Metal Rule From 2013?

Sep 14, 2012

I have not found a way to remove a sheet metal rule from appearing in the list of available options when making a sheet metal part. Is there a way to manually remove the incorrect rule?

I tried opening the sheet metal rule xml file and deleting out the section that codes the rule I want to remove, but after opening inventor and checking the xml file again, it has returned.

View 5 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 :: Material Referenced In The Sheet Metal Rule Could Not Be Located

Oct 5, 2012

I open my assembly and get this prompt."The material referenced in the sheet metal rule could not be located....."

There are several sheet metal parts in this assembly, so I am not really sure which part it is talking about.  Would be good if it listed the part number so I could correct it. So I am off to find the one that is causing the trouble.  I close my iam and open the first sheet metal part, no dialog box, so I assume its not this one. Close it, and open the next one.  No dialog box, so I open the next one..... I continue this until I have opened all the sheet metal parts in this assembly and NONE show me the dialog again.... huh!!  That was yesterday. 

I come in this morning, start Inventor and open one of the sheet metal parts from yesterday and immediately get the dialog again.  The problem is that this dialog will only appear ONCE per Inventor session.

Once I nailed down the offending part, I then tried to find the offending material. I dont really know what this dialog is telling me cause the materials for the rules are stored locally in the part.  Why is it even trying to reference a material in the library?

Windows 7 x64 -12 GB Ram
Intel i7-930 @ 2.80ghz
nVidia GTS 250 -1GB (Driver 301.42)
INV Pro R2013, Update2
Vault 2013

View 3 Replies View Related

AutoCAD Inventor :: How To Change Sheet Metal Rule For Changing Material

Aug 4, 2013

 I want to change the material of a sheet metal part using inventor api.I tried something like code
 
Dim partDoc As PartDocument partDoc = inventorApp.Documents.Open(FilePath & filename, False) If partDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then Dim smDef As SheetMetalComponentDefinition smDef = partDoc.ComponentDefinition Dim style As SheetMetalStyle style = smDef.SheetMetalStyles.Item("sheetMetalRule")

 But I can't get the code for material change.

View 1 Replies View Related

AutoCAD Inventor :: Rip Command - Set Proper Thickness In Sheet Metal Styles To Match Model

Jun 5, 2013

When I use the rip commandment a message appears " for proper folding the model should have uniform thickness equal to the model parameter thickness. Please set the proper thickness in the sheet metal styles to match your model".

View 9 Replies View Related

AutoCAD Inventor :: Change Sheet Metal Parts Material / Thickness Bend Radii From Assembly

Nov 22, 2013

How do we change sheet metal parts material, thickness Bend Radii from an assembly in groups.

View 3 Replies View Related

AutoCAD Inventor :: Sheet Metal Controlled Through ILogic

Mar 4, 2013

Any way or a code to physically change the sheet metal defaults using iLogic code, I want to change parts in my assembly without opening each individual part and changing it there. Inventor 2014, Windows 7, 64 bit.

View 8 Replies View Related

AutoCAD Inventor :: Import Sheet Metal Style In ILogic

Sep 11, 2013

importing a sheet metal style (STYLENAME.styxml) into a sheet metal part. 

I would like to automatically import the style using an iLogic script.

View 4 Replies View Related

AutoCAD Inventor :: Ilogic - Sheet Metal Part Auto Update

Oct 18, 2013

i made a sheet metal part.ipt but that file is not updating immediately, i have added

iLogicVb.UpdateWhenDone = True
InventorVb.DocumentUpdate()

also tick marked in parameters for IMMEDIATe update

View 3 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 :: Sheet Metal From Flat Sheet To Rolled Part?

Sep 12, 2013

A collegue asked me about this as he has been given a part to model and the details are for the flat sheet not the finished model. Is this possible in 'sheet metal'? I had a quick play but couldn't work it out. Im used to creating the finished part and 'un-folding' to get the flat pattern.Detail supplied below.

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







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