AutoCAD Inventor :: Change Patterned Component IProperties Via ILogic

Sep 19, 2012

I'm working on a main assembly. I want to edit the i properties of components within a sub-assembly, this is fine for "RING:1"
 
iProperties.Value("RING:1","Project", "Description")="A79-H020B001"

but I get an error message when i try to edit the iproperties of a patterned component within the sub-assembly.

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: ILogic Code Part Iproperties To Custom Iproperties

Sep 19, 2013

I was looking for some iLogic Code for Inventor 2013 that would cycle through all the parts in an assembly grabbing the quantity of each part and setting it equal to the custom property "Qty" of each part.

Having a little trouble creating the for each loop and setting reference to each part without referencing each part by specific name.

View 6 Replies View Related

AutoCAD Inventor :: Change BOM Structure Of Component Within Assembly Using ILogic

Nov 22, 2011

I have a wall of frames, if you will, and some frames within this wall are different sizes. When doing the BOM, I want to be able to combine anything that has the same stock number as well as the same cut length. The only way I have thought to do this so far is to cycle through each stock number and if the cut length is the same, I override the quantity of one and change the BOM Structure of the other to "Reference". 

How can I change the BOM Structure to reference without selecting the part or going through the BOM Editor? Is there some VBA code I could utilize? I am striking out by solely using iLogic.

View 2 Replies View Related

AutoCAD Inventor :: ILogic Change Parameter In Any Part That Is Not A Component

Oct 1, 2013

The commented code does not work. I want to be able to open a part and change its size parameters before i open the assembly. this code will run as an external rule in a new empty file. 

If i can do it without opening the part, that is even better. Test can I open a part, change a param, then close part.

Dim fname As String
fname ="C:Workspacemy_progchanF_BB_L.ipt"
Dim pDoc as PartDocument = ThisApplication.Documents.Open(fname,False)
pDoc  = ThisApplication.Documents.Open(fname)

These are just attempts to find a syntax that works. I need the method to change the parameter.

 'param = pDoc.PartComponentDefinition.Parameter.Param("TKNS")
 'pdoc.parameter.Param("TKNS") = 8
pdoc.Save
pdoc.Close

View 4 Replies View Related

AutoCAD Inventor :: ILogic Design Copy - Unable To Change Component Names?

Aug 11, 2011

I'm finally wrapping up work on an iLogic Configurator project and have started to brainstorm the best workflow to get this "Smart Assembly" into the design group's hands. I had been anxiously awaiting the new "iLogic Design Copy" feature in IV2012, but just recently learned that users are unable to effectively rename any components with this command.

Is this really true? If we can add prefixes or suffixes, what's stopping us from changing the entire filename?  We haven't upgraded to 2012 yet, but it seems like this may be a silly and unjustifiable restriction to a command that would otherwise save our designers hours of "file-management" (ie, manually renaming parts in Explorer, component replace in assy's, replace references in idw's, etc) each week.

Long story short, it seems that every workflow I've come across has had some sort of silly limitation that makes it undesireable for my application:
 
My top-level assembly contains all of the rules, and changes parameter values in the referenced skeletal parts. It also swaps standard parts for other standard parts as needed.I need access to rename ALL files (idw's, top-level assembly, subassemblies, and base components) while still maintaining/updating all internal hyperlinks between them.iLogic rules must be carried over to the new copied components (the existing "Copy Assembly" command strips the assembly of all rules). In light of the iLogic Design Copy's apparent shortcomings, any better workflow?

View 9 Replies View Related

AutoCAD Inventor :: ILogic - Skip Saving A Suppressed Component / Delete Suppressed Component

Aug 30, 2012

I have an assembly which has a few components suppressed.

My end results is another copy of the assembly (with copies of the all the parts) in another directory

Now i am able to create copies of un-suppressed parts using; (this allows me to SaveAs assembly components which are not suppressed)

DocumentsEnumerator = ThisDoc.Document.AllReferencedDocuments

And save a copy of the assembly using

ThisDoc.Document.SaveAs

I also added the fllowing snippet (which I am not sure what is does), but it does not work for me

Component.SkipDocumentSave = true

 When I open the newly created assembly, I still see the suppressed components in the model browser

I want to either;

Skip saving the of the components in the model browser (i.e. the Assembly)

OR

Delete the suppressed parts in the Assembly, so that they do not save altogether

View 3 Replies View Related

AutoCAD Inventor :: Browser Component Names Do Not Change After Replacing Component

Jan 26, 2012

We are having an issue when we replace a component in Inventor Pro 2012.  When we replace a component, the name in the browser does not update to the new component.  We've even tried to close and re-open the Inventor assembly and that does not work.  We end up manual double clicking the name in the browser and type in the new component name. 

Inventor Product Design Suite Ultimate 2012
Dell Precision T7500 Workstation
Xeon Processor
16 GB of RAM
Nvidia Quadro FX 5800
Windows 7 x64

View 4 Replies View Related

AutoCAD Inventor :: How To Export IProperties To TXT ILogic

Nov 11, 2013

I would like to copy and paste all iproperties from one part to another, without retyping it all.

What i was thinking about is:

1. Exporting all iproperties to .txt

2. Run a import .txt rule to iproperties.

Is it possible? If so, How could i accomplish a task such as this?

Privacy warning: Since I live in a country that has traded liberty for the illusion of security, all of your posts to me are being monitored and saved by the United States Government.

View 1 Replies View Related

AutoCAD Inventor :: ILogic Set Description In IProperties

Oct 18, 2013

I am sure this is extremely simple to do but I am missing something. I am wanting to set the Description of a part in the Iproperties using values from the parameters. For instance, if the part has a length value of 10 and a width value of 5 I want the Description to say: 10 x 5 Floor Sheet

I cannot figure out how to extract the parameter values and place them into the iproperties. Here is what I have tried: iProperties.Value("Project", "Description")=" =<Length> x <Width> Floor Sheet"... This gives me the following result in my description:  x  Floor Sheet

View 4 Replies View Related

AutoCAD Inventor :: Set Assembly IProperties Using ILogic

Jun 1, 2011

I wish to set the properties of an assembly using i Logic. I have the values of the properties in a part that is in the assembly. I wish to pass those values from the part to the assemblies i properties. I tried using the following code, but it gives an error saying it can not find the document "MyAssy.iam"
 
iProperties.Value("MyAssy.iam", ThisDoc.Path, "Part Number")=AssyNo

I'm not even sure that this is the way to do, but it's the only way I could think of to try.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Push IProperties

Apr 2, 2013

I want to use i Logic to retreave or push the i Property of "Project" from my skeleton file to the rest of the parts and assemblies in the project.

View 9 Replies View Related

AutoCAD Inventor :: Using ILogic To Fill Out IProperties

Jan 30, 2012

My goal is to use basic ilogic to fill in some of the standard iproperty fields from parameters.I have so far managed to populate the description iproperty with one value from the parameters using this ilogic code;

iProperties.Value("Project","Description") = length

where length is a user parameter.Want I would like to do is build on this to include more parameters such as material thickness, width and depth etc so the resulting iproperty description field would read something like

1.2mm SS 50x100 @3000

How do I go about writing the ilogic string to include multiple values and end up filling in the one description field?

View 9 Replies View Related

AutoCAD Inventor :: ILogic - Set Iproperties In A Derived Part

Jan 28, 2013

I would like to be able to add iproperty values to a derived part from the assembly..!

Breaking it down..:

When i run the rule, it creates a derived part from the Assembly i have open.

The iproperties from the assembly should be copied to the new Derived Part. or just set direclty from the rule, doesn't matter...

View 9 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 :: Adding Custom Iproperties With ILogic?

Nov 2, 2010

Is it possible to automatically add custom iproperties using iLogic?

I have a rule thats adds text to a propery, but when I run the rule in an old partfile i get the error:

"Can't find a property named DrawingNo"

Is there something like:

"Create iProperties.Value("Custom", "DrawingNo")"?

View 3 Replies View Related

AutoCAD Inventor :: Populate IProperties From Excel Using ILogic

Jun 27, 2011

I am trying to use an iLogic rule to populate iProperties (some generic, some custom) from a part number spreadsheet (containing columns such as PART NUMBER, DESCRIPTION, FINISH etc) and the rule keeps throwing up the following error 'Conversion from string "" to type 'Double' is not valid.'

Here’s part of the code (would be extended for the required custom iproperties but I’m assuming the same principle is ok)
 
StartRule:
'read excel file
GoExcel.Open("C:DESIGNDocumentsEXCEL FILESPART NUMBERS", "PARTS")
'index row 3 through 10000
For rowPN = 3 To 10000
'find first empty cell in PART NUMBER column (Column A)
 If (GoExcel.CellValue("A" & rowPN) = "") Then
[code]...
 
Changing the format of the excel data (number or text) has no effect. Is manipulation of the format required so that Inventor can read text and numbers to iProperties in this way?

View 5 Replies View Related

AutoCAD Inventor :: Get IProperties From Part In Drawing With ILogic And VBA

Apr 18, 2013

how could I synchronize my drawing with the referenced part?

I have a "User Defined Propertie" called  "RBMATNO" in the part and in the drawing.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Component Add

Jan 16, 2013

What I am trying to do is insert a part into an assembly file using iLogic. I basically want to mimic Inventor’s “Place” command using ilogic, maybe something like this:

oPath = ThisDoc.Path & ""
oFile = "File.ipt"
Component.Place(oPath & oFile, False)

View 1 Replies View Related

AutoCAD Inventor :: ILogic Syntax For Searching In Excel And Update IProperties

Dec 17, 2013

I want a ilogic rule syntax for following process:

I have one excel sheet it consists around 5 sheets for Plate, Flats, Rounds, etc. When i am run the rule then it will ask and do the following:

Ask the thickness value.It will search thickness value in “D:LINUS KOTTEstock numbers.xlsx” in sheet 1If thickness value found then fill the stock number in iproperty(project tab-stock number)   

Here i am using different rules for plate, flat, round, etc.,

View 2 Replies View Related

AutoCAD Inventor :: IProperties And ILogic - Transfer Custom Title To Drawing

Oct 26, 2012

I have a form that is loading automatically in my part model. where i write the part number, description, project and custom titles.

my questions are:

1 - when i write the part number i would like then when i click apply it opens the save box with the same part number.
2 - it's possible to check-in the file during the saving and keeping the file checkout?
3 -  i would like that some of the properties would be transfer to the drawing, like the description and the project (this two are from the part properties.
4 - transfer also for the drawing the custom titles to the custom i properties of the drawing as pre fill in.

View 1 Replies View Related

AutoCAD Inventor :: Using ILogic To Retrieve IProperties Form Model Into Drawing?

Jun 7, 2012

I'm trying to put a little iLogic rule in my drawing template which triggers as soon as the drawing is opened.  The rule asks the user whether the component he's making a drawing of needs to be painted or not.  If it gets painted, the paint area (one side only or both sides) needs to be calculated.  The result of this is then referenced by a text note in the title block.

I can do the radio boxes with the questions, as well as their If loops, but only when I'm in the model.  Due to our, admittedly inefficient workflow, we never have time to specify "minor details" like paint area or spec during modelling, only when we get to drawing level.  I'd like to put the iLogic rule inside the drawing template.  I'm having trouble referencing the iProperties of the model from within the drawing's iLogic interface.

What I have so far is this rule, which I can run inside the model:
 
'set dummy variable equal to total areatotal_area = iProperties.Area'start radio box with questionsText1 = InputRadioBox("Will this component be painted?", "Yes", "No", Text1, Title := iProperties.Value("Project", "Description"))If Text1 = True ThenText2 = InputRadioBox("How many sides will be painted?", "Both sides", "One side only", Text2, Title := iProperties.Value("Project", "Description"))If Text2 = True TheniProperties.Value("Custom", "Paint Area") = total_areaElseIf Text2 = False TheniProperties.Value("Custom", "Paint Area") = total_area/2End IfElseIf Text1 = False TheniProperties.Value("Custom", "Paint Area") = 0End If

adding a line or two so that I can run the same rule, but from the drawing.

View 9 Replies View Related

AutoCAD Inventor :: ILogic / Modify IProperties Of Model That Is Associated To Drawing View

Jul 11, 2013

I'm trying to do this with iLogic, and i'm not getting anywhere. What I need, is to be able get to the iProperties of an associated model that is referenced into a drawing file.  I want to make it easier to update the iProperties from the drawing file, without having to open the model file. 

Factory Design Suite Ultimate 2012
AutoCAD 2012 | Inventor Professional 2012 | Vault Professional 2012

View 2 Replies View Related

AutoCAD Inventor :: ILogic Changes Custom IProperties Type From Number To Text

Nov 2, 2011

I am using ilogic in Inventor 2011 to update my iproperties when I save a .dwg file. I am having problems with some custom iProperties I have created that are of the type 'number' and are initially set to 0 (zero). After the iLogic rule has run and the user has entered a numeric value the type of the custom iproperty has changed to 'text'.

The ilogic code I am using is:

 If iProperties.Value("Custom", "Nominal ID") = 0 Then 
    iProperties.Value("Custom", "Nominal ID") = InputBox("Enter The Nominal ID (Enter 0 if no value is available)", "Nominal ID", 0)
    Custom_iProp_Nom_ID = iProperties.Value("Custom", "Nominal ID")
 End If

I am using Vault 2011 and would like to map this property to a numeric property so I can perform <= and >= searches.

View 2 Replies View Related

AutoCAD Inventor :: ILogic To Create And Display / Insert Custom IProperties In Template

Aug 25, 2012

Any way to use iLogic to create custom iProperties from the cells in an Excel spreadsheet (both text and numbers) for a .dwg template. The only thing even close has been a user who already knew how to do it and was having a different problem. I am using Inventor 2012 and Excel 2003 and have very little experience with VB. I currently have a family of assemblies, consisting of two parts linked to an Excel spreadsheet to control the various parameters for each variation of the assembly.

I need creating an iLogic rule that will:

Go to a specific tab (I have four different tabs/worksheets) in an Excel spreadsheet.

Make a specfic row of that worksheet the current row based on the part number used to generate the models of the assembly shown in a .dwg.

Use the contents of a cell in that row (text or numeric or a combination of both) to generate a custom iProperty for the .dwg template.

Use the custom iProperties to fill in the title block of the template.

View 4 Replies View Related

AutoCAD Inventor :: Component Suppression Using ILogic

Mar 1, 2012

How can I include component suppression in the idw views? I suppress a component in the ipt or asm, but it doesn't

disappear from the drawing views. Is there a way to carry this over to the drawing?

View 1 Replies View Related

AutoCAD Inventor :: Place ILogic Component

Dec 28, 2012

Is it possible to skip the small preview window and the parameters display when i place an iLogic component white the command Place iLogic Component.

View 1 Replies View Related

AutoCAD Inventor :: ILogic Component Not Found

Aug 12, 2013

I'm trying to play around with iLogic for creating dynamically dimensioned subassemblies. I've created my dimensioning rules that link to the parts I wish to change dimensions on.
 
Parameter("Bridge Spine:1", "BridgeLength")=Length

And I've tested this in the SubAssembly I've created and all appears fine. However when I go to insert the sub assembly into the main assembly I get the following error:

Parameter:  The component named "Bridge Spine:1" was not found.

I've noticed that the new sub assembly has created new parts with the extension -01 on the end of each part (As expected) It appears that this link is being lost in the rule for the new sub assembly. i.e the rule is looking for Bridge Spine:1 instead of Bridge Spine-01:1

View 3 Replies View Related

AutoCAD Inventor :: Setting Sub-component Appearances With ILogic?

Nov 7, 2013

I am trying to set the appearance of sub-components in an assembly using iLogic.
 
Dim oDoc As Inventor.AssemblyDocument = ThisApplication.ActiveDocument Dim oCompDef As Inventor.ComponentDefinition = oDoc.ComponentDefinitionDim oCompOcc As Inventor.ComponentOccurrence 'parts in the assemblyFor Each oCompOcc In oCompDef.OccurrencesoCompOcc.Definition.Document.ActiveRenderStyle = oCompOcc.Definition.Document.RenderStyles("HVGM")Next

View 3 Replies View Related

AutoCAD Inventor :: ILogic - Give Component Certain Rotation

Oct 19, 2012

I have a code which I want to rotate a part. I have a text parameter 6 and 7. If one of the values is active I want to give the component a certain rotation.

Under the 'Hoekkoppeling' parameter is the angle constraint.

Below the

If Parameter ("KlemHoekstuk-01: 1", "KoppelingType") = 7
Then Hoekkoppeling = 60 deg
ElseIf Parameter ("KlemHoekstuk-01: 1", "KoppelingType") = 6
Then Angle = -60 deg
End If

I now get always an error on the second and fourth line.

I feel that the specify for the value is incorrectly.

View 4 Replies View Related

AutoCAD Inventor :: Place ILogic Component Doesn't Work?

Dec 2, 2013

I created a simple Part with some parameters to drive dimensions. Saved the part. I created an Assembly. Saved the assembly. Clicked Place iLogic Component. The Place iLogic Component window appeared Selected the Part. I can see the preview window (Part-01) & the parameter window... Used default values. Hit OK NO PART INSERTED! Using Inventor Pro 2014 64-BitLudesroc

View 1 Replies View Related

AutoCAD Inventor :: ILogic - Delete A Suppressed Component Pattern

Sep 20, 2013

How to modify the code below to delete suppressed parts in a pattern (entire pattern)?

Dim oComp As ComponentOccurrenceDim oComps As ComponentOccurrencesoComps = ThisDoc.Document.ComponentDefinition.OccurrencesFor Each oComp In oCompsIf Component.IsActive(oComp.Name) = False Then oComp.DeleteNext

 Code works fine if there are single instances of the part. It throws a error when you have a suppressed pattern.

View 7 Replies View Related







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