AutoCAD Inventor :: Add Specific User Parameters To Part File

May 21, 2012

I would like to have a rule that will add specific user parameters to a part file.  These parameters need to be formatted so the width, depth and thickness will control the description of the part.

IE:

Width=4

Depth=2

Thickness=3/16

DESCRIPTION = TS <Width>X<Depth>X<Thickness>

I would like to format each parameter so that the:

Format=Fractional

Precision=1/16

Unit string=False

This is what I have so far:

oMyParameter=ThisApplication.ActiveDocument.ComponentDefinition.Parameters.UserParameters

oParameter=oMyParameter.AddByExpression("Width", "TOP_RAIL_WIDTH", UnitsTypeEnum.kInchLengthUnits)
oParameter.ExposedAsProperty=True
oParameter.Units="in"

[Code]...

The TOP_RAIL parameters are from a linked file.

View 9 Replies


ADVERTISEMENT

AutoCAD Inventor :: Change User Parameters From A Linked Part

Jul 19, 2013

I made an assembly that adjusted to sized based on some key parameters. These key parameters are controlled by a form in the main assembly. The keys parameters actually adjust the skeleton file, which then drives the frame, then all the parts are adjusted.

after changing these parameters all necessary parts would adjust to size and keep the location constraints. Worked quite well.

The issue now is that, we adopted a new naming convention and this assembly requires all the part files to be renamed. I meticulously saved each part as their new name and then replaced each component in the main assembly. This worked to an extent. The problem that I am facing is that when I saved each part as there new name, the new part retained the linked parameters to the old part. Is there a way to change this link to the newly name skeleton file?

I looked into design assistant for this process as well, but the only changes I think available were to add a prefix or suffix. If worse comes to worse, I can remodel this project but, I am sure there has to be a way to alter this.

attached is a single part with those parameters in the image above.

View 2 Replies View Related

AutoCAD Inventor :: Including User Parameters In Part Description?

Dec 8, 2011

I have some parts with varies User Parameters that allow cusomization of part features.  With numeric user paremeters we can check the export parameter box and then, in the description of the part we can refrence that parameter.  For instance the description could be: =Width <Width>, Height <Height>, etc. Where it would desplay as Discription: width 22in, height 12".  

We also have text User parameters.  Is there a way to add these parameters to the description as well?  They do not have the option of checking the export parameter box in the parameters table.

View 1 Replies View Related

AutoCAD Inventor :: Assembly To Part File Linked Parameters?

Jan 22, 2013

My goal is to open have people go into a central assembly file, type in their specific parameters and the various part files update within the assembly. I wish to do this without the need for an excel sheet, but when I try to link the parameters from the assembly file to the part files, it will not allow me to insert these parts. I get an error about an "assembly can not be placed into itself."

Iparts will not work as this has an infinite amount of sizes.

View 3 Replies View Related

AutoCAD Inventor :: Getting User Selection Within Part Edit Mode In Assembly File

Feb 24, 2013

I'm working on Autodesk VBA, and I'm trying to get user input on which vertex to use for a constrain. I want to make a macro that can go into part edit, allow user to select a vertex, and then automatically set up the constraint. Initially I wanted to do this in a single macro, using this short piece of code

while oSelectSet.Count <>1
DoEvents
Wend

While this worked when run directly from VBA, if I call it as a macro in Autodesk itself, the DoEvents doesn't seem o work because I wasn't able to make any selection at all. I googled and it seems like this is just how macros are.

So I split the code into a 2 subs and a function (as attached), and put them into separates rules that I call using a form in Autodesk. The first sub "Meta1Pin1_1" works, then I would select a vertex in edit mode. But when I go ahead and call the second sub "Meta1Pin1_2", I get the error message that I created which says no vertex is selected. But if I select a vertex and call the second sub again, it will work.

So I've been trying different things and I realize that every time when I first call the second sub, my selection is erased teh moment it goes into the sub. But, for some unknown reason, the selection will remain when I call it the second time. I can't figure out what exactly happened between the first and second call of the same sub, that allowed the selection to remain.  

' prepares assembly for user input by grounding bones and going into part edit
Public Sub Meta1Pin1_1()
Dim oDoc As AssemblyDocument

[Code]....

View 2 Replies View Related

AutoCAD Inventor :: Open A Assembly File / User Selects A Part / Plugin Automatically Runs

Feb 27, 2013

is it possible to write a plug in that runs when a user does something.example. you start inventor and open a assembly file the user selects a part and the plugin automatically runs.no pussing buttons, no quick key, it just runs.

View 2 Replies View Related

AutoCAD Inventor :: How To Copy User Parameters

Apr 23, 2012

I need to copy about 15 user parameters from 1 part to about 300 others.  I used the DA to copy the iproperties but the user parameters are also needed. 

View 2 Replies View Related

AutoCAD Inventor :: Text User Parameters

Jul 18, 2005

Is there a way to create user parameter as TEXT Paramters does not accept the text paramaters . we always have tor create parameters as numbers.

View 9 Replies View Related

AutoCAD Inventor :: User Parameters In Tables

Feb 25, 2013

Is it possible to add a user parameter into a general table in a drawing?

Example:

If I create a multi value text parameter called "Design", and give it two values "open" & "closed". Is there a way to add the chosen value into a general table on the drawing.

Autodesk Product Design Suite 2013
Win 7 Professional 32bit
Intel(R) Xeon(R) W3565 @ 3.2GHz QC
4.0 GB Ram
1GB Nvidia Quadro 2000

View 1 Replies View Related

AutoCAD Inventor :: Using User Parameters In Drawing Sketch?

Aug 22, 2011

We are trying to add reference lines to the idw drawing for a sub-assembly.  These lines represent centerlines of parts of the main assembly. The main assembly is not the reference file for the drawing.  However, the required dimension setting the centerlines is a User Parameter in the sub-assembly.  (The centerlines are represented by work planes in the sub-assembly file).  Using iLogic, we were able to populate the User Parameter from the sub-assembly into the idw file.  We can see it as a User Parameter in the idw file.  However, when we go into sketch mode the User Parameter is not an option.    In sketch mode, we pull a dimension between the two centerlines (d4).  When you look at the parameters d4 does not exist so we cannot set d4 equal to our User Parameter (and we've looked there are no filters on).      We need this dimension to be able to adjust as the length of the sub-assembly adjusts for different cases.  Each case is unique and done on a job by job basis. 

There are several places in our drawings where being able to place reference lines and set their relationship to the part would be very useful. 

1.  Why are the User Parameters not available for use in sketch mode on a drawing?

2.  Why can the dimension IDs (ex. d4) not be seen by looking at the parameters? 

3.  alternative way of putting reference lines on a drawing? 

View 4 Replies View Related

AutoCAD Inventor :: Sort User Parameters By Code

Apr 10, 2013

I work with Inventor 2011.

It is possible to sort Parameters (user parameters) by code (simulating a click on column header) ?

View 3 Replies View Related

AutoCAD VB :: Access To User Parameters In Parameters Manager?

Aug 3, 2011

How can you access user-defined parameters/function defined in the Parameters Manager dialog?

View 1 Replies View Related

AutoCAD Inventor :: Add User Parameters To Parts Using External Rules

Feb 25, 2013

I have a large collection of parts that are controlled from an exteranl rule. I need to make slight changes to the external rule, but for the changes to be successful I need two extra user parameters to be added to each of the parts. There are hundreds of parts, so going in and adding the two parameters to each would take days.

Is there a simple way of getting the external rule to add the two parameters?

P.s. My VB skills are pretty limited, but my understanding of iLogic is pretty good.

View 2 Replies View Related

AutoCAD Inventor :: Calculate Area Of Extrusion Without User Parameters?

Jul 11, 2012

I have a part with very irregular shape created by projecting geometry of other parts. 

I wondered if there is any way of calculating area of this extrusion instead of dimensioning the sketch and creating equasions in user parameters?

View 9 Replies View Related

AutoCAD Inventor :: IPart User Parameters In IDW General Table?

May 1, 2013

I have an IPart with about 100 instances in it that is sheet metal. I created a user parameter for the gauge of the sheet metal relating to the thickness and that works fine in the ipart. My dilema is how to get the gauge to show up in my drawing in the general table. Pretty much I woud like the table to list part number, material and then have a column for the gauge of the steel related to the thickness in the Ipart table. I am using Inventor 2011 if that makes a difference.

View 2 Replies View Related

AutoCAD Inventor :: External ILogic Rule With User Parameters

Aug 30, 2013

I need import all new params, rules and forms from a new template to older parts. I'm trying to use an external rule to create a new iproperties and import params from xml file but I can't assign these parameters with these iproperties.

I attach the code.

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Insert And Change User Defined Parameters From Excel-text File

Oct 6, 2012

But I was wondering if it is possible to contol the insertion of dynamic blocks and it user definerable parameters from a excel-text file.

I am surveying a section of pipework and I need to display the brackets that are supporting the pipes. As there are numerous pipes on top of each other I have decided to show the brackets in plan and isometric view.

I think I have made the dynamic block ok and have numerous stretch/move and scale parameters working correctly.

But the only way that I can see of chaging these parameters at the momment is by manually typing them in the properties tool pallete for each individual block.

So I was thinking that if I can store the correct values that I need for each parameter in the dynamic block on our data logger along with the correct E,N,Z insertion point is it possible for this file to change the parameters in the dynamic block for example, If I have the correct insertion point stored and then have 10 parameters stored with that point for simplicity I store as A=5.00,B=8.00,C=0.100 etc and these correspond with the parameters in the dynamic block will this file be able to alter the  dynamic block as the values in the excel/Text file are displayed.

View 2 Replies View Related

AutoCAD Inventor :: ILogic - STL Translator Specific Parameters Info

Sep 11, 2013

I am looking for information on the option parameters, any documentation?

I found some code to query what parameters there are (Rule: GetTranslatorOptions), just not sure what the enumerations are for some.

Specifically: ExportUnits, Resolution

Using Rule:ExportSTL

I have changed the Export Units from 1 to 4 and do not see any change to the STL ASCII output.. not sure what this parameter does... Expected it to be an enumeration of the drop-down box that you see during "manual" exporting.  

View 1 Replies View Related

AutoCAD Inventor :: Exporting User Text Parameters To Custom IProperties

Nov 21, 2012

I am trying to export a user parameter that is a text string to a custom I property. I am able to export other parameters to custom properties that are numarical values. I export check box is missing on the text user parameter.

Is there a way to acomplish this with I-logic?

View 5 Replies View Related

AutoCAD Inventor :: Change Multi Value Select To Custom Value Input In Ilogic User Parameters

Aug 31, 2011

I want to change 'mutil value select" to "custom value input" in ilogic user parameters. something like this:

if condition A then

multivalue.setlist("length", 1,2,3,4,5)
else

(users can enter any value they want, how can i remove the list first and set it to custom value input?)

View 2 Replies View Related

AutoCAD Inventor :: How To Use Part Parameters In An Assembly

Jul 30, 2012

I need to use parameters of a part in an assembly. How to do this? Do i need to define a rule? How is this done?

Can i do it without using an Excel sheet as a parameter source for both the assembly and the part? The target is to have inventor update an array of assets as soon as the width of a part is changed whether in Excel or in the Factory properties of the asset.

View 5 Replies View Related

AutoCAD Inventor :: Reuse Same Part With Different Parameters

Oct 11, 2013

I'm new to Inventor.  Lets say I create a part called Pipe.ipt.  In it I specify the OD, Thk and Length of the pipe.  If I then create an Assembly, and I want to use multiple instances of Pipe.ipt, but each instance has a different set of parameters (i.e. different OD, Thk and Length).  How do I do this?  

I see I can set up iPart, and I could set up tables with the OD and Thickness for various standard pipe sizes.  But this doesn't address the length.  How do I re-use the same Part in an assembly, but each part has it's own set of unique paramenters?  

View 3 Replies View Related

AutoCAD Inventor :: Parameters To Control The Part?

Feb 13, 2013

I have a part made where various parameters in it.

Now I place the part in a assy and from there i want the parameters to control the part.

I do this now by the same parameters from the part to add in the assy by  typing the parameters manually in the assy.

Is there a way that you can define parameters retrieved from the part about the assy without retyping and therefore can make mistakes?

View 5 Replies View Related

AutoCAD Inventor :: IAssembly - Accessing Part Parameters

Jul 13, 2012

How we can access the part parameters after hitting create iAssembly. do I need to make i parts first and then bring them to an assembly and make an iAssembly??

View 5 Replies View Related

AutoCAD Inventor :: How To Change Part Parameters In Sub-Assembly

Mar 19, 2012

I have design tree like this:

Main Assembly

L Sub Assembly1

L Sub Assembly 2

L Sub Assembly 3

L part 1

in part i have a parameter name ("Panjang")... how to control "Panjang"?. I cannot access a part parameter in Sub-assembly.

[URL]

View 9 Replies View Related

AutoCAD Inventor :: Control Parameters Of A Part That Is Not In An Assembly?

Nov 4, 2011

I am trying to control the parameters contained in a part that is not in my assembly. May sound odd, but I am using the multi body part modeling feature to create all of my bodies in a single part file, then making these components/sub assemblies, and pulling them into my assembly. However, I do not want to have the "control part" in my assembly, I just want it to drive the parts. I cannot figure out how to access these parameters without having the part included in the assembly...

View 7 Replies View Related

AutoCAD Inventor :: Expose Part Parameters In Assembly

Aug 7, 2011

I have the following problem. I design a simple part - an extruded base, so i have a parameter in this part that i can control the extrusion distance - i call this parameter D.

Then i create an assembly and place the part in it. How can i access the parameter D of the part from within the assembly?

I want to place multiple instances of this part in my assembly and control each parameter D of an instance using an excel worksheet that is linked with the assembly. How can i do it ?

My aim is to design a very simple manipulator. Each link has the same shape but a different length. I want to control each length from an excel worksheet and not from an ipart table. I want to have only one worksheet that controls the parameters of my assembly such as constraint  angles , and link lengths.

View 5 Replies View Related

AutoCAD Inventor :: Disable Parameters When Part Is Suppressed

Feb 18, 2013

I have a configurator assembly, which is controlled with an iLogic rule.

one of the parts is being changed in a lot of ways according to the different configurations. But in one of the Configurations the part must be suppressed, which works fine, however next time i run the rule i get an error message from all the other instances where it would change a parameter if the part was active.

I have tried adding if [the configuration that makes the part suppressed] = False then, in the beginning of the the code that fails, to simply prevent it from running, but it still makes an error.

and as you can see i have a lot of lines where the part normally would be configurated.

Error on Line 628 : Method arguments must be enclosed in parentheses.
Error on Line 629 : Method arguments must be enclosed in parentheses.
Error on Line 633 : Method arguments must be enclosed in parentheses.
Error on Line 634 : Method arguments must be enclosed in parentheses.
[code]........

I don't understand how to enclose the argument in parentheses.

View 9 Replies View Related

AutoCAD Inventor :: Part Parameters In GeneralNote Object

Mar 28, 2013

In the recent past I've been putting textboxes (General Notes) on drawings, and using part-parameters in these textboxes to display the values stored in these parameters (see attached picture). Is there a way to automatically put a link to these parameters into the notes through the API / VBA so that these values update when the part changes? With the property obj_GeneralNote.Text it's only possible to add plain text.

Product Design Suite 2014
Inventor 2014, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)

View 1 Replies View Related

AutoCAD Inventor :: Part Number Driven By Parameters

Dec 7, 2012

I have 2 parameters in a part (a spring), "diameter" and "Length".

I change these parameters with iLogic to build several springs.

Is it possible to update the "Part Number" Each time I change the parameters "diameter" and "length"?

I want to get the following:

Mola_Ø-65_L-140

Where 65 is the parameter value and 140 is the length value.

I tried with the code below,

iProperties.Value ("Project", "Part Number") = "Spring_Ø-"   Diameter    "_L-"    Length

but that returns: End of statement expected.

Autodesk Factory Design Suite Ultimate 2014
Autodesk Simulation Mechanical
Autodesk Simulation CFD
Windows 7

View 2 Replies View Related

AutoCAD Inventor :: Basic Part - How Parameters Get Created

Oct 22, 2012

I created a basic part using Inventor and some how something created some parameters out of the blue.  I know that I didn't create the parameters.  The parameters got created automatically some how and I would like to know how this happened so I can do it again, because it would save a lot of time.

Here are some of the parameters that got created. 

vParam_Title
vParam_Project
vParam_Description

I have included the file that this issue occurs in.

View 9 Replies View Related







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