AutoCAD Inventor :: Changing A Parameter Through IProperties?

Oct 11, 2011

Is it possible to change a Parameter value through iProperties?  I have pipe with carries a "Length" parameter for its length.  I checked the " Export Parameter" to make this value visible in the iProperties.  Is there a way to create a Macro to make this possible?  I'd love to be able to change pipe lengths without physically opening the file.  This is my first time getting into programming/ macros.

View 1 Replies


ADVERTISEMENT

AutoCAD Inventor :: Using Parameter In IProperties

Jan 6, 2014

Sometimes I change the dimensions of a material I use but then I have to open Iproperties and change the description by hand. This can create problems as you can understand especially when I forget to update the Iproperties.

Then I had the thought to automate it. Lets take a steel bar as example. I have thickness and width as parameter, both are exported and available under IProperties/Custom. But they show as 200 mm and 10 mm. I would like to loose the units. I tried also UL but then it reads 200 ul and 10 ul.

What I like to get are just the numbers, no units. I like to use it to create this  "steel bar 200x10" where the 200 and the 10 are linked to the Parameter and will change when I change the dimensions av the steel bar.

View 9 Replies View Related

AutoCAD Inventor :: Changing IProperties In Session?

Nov 16, 2012

Using Inventor 2013. As you know it's impossible to chang iproperties values of the library parts in inventor session (for instance in asm file). The error message comes "readonly".

But when you open iproperties of the file in windows file explorer then it's possible to change iproperties values while library parts open in inventor session in asm.

Normally I copy the file location path of the library part and open this path in the windows file explorer and find the part and right-click on file and change iproperties values which I want to change stock number, part description etc...

Is it possible to create VBA code or API which can open iproperties box of the selectet part outside of the inventor session in windows file explorer?

View 5 Replies View Related

AutoCAD Inventor :: Changing Date Order In IProperties

May 21, 2012

I want to change the default date order which is displayed in iProperties from MM/DD/YY instead of MM/DD/YY.

Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)

View 3 Replies View Related

AutoCAD Inventor :: Frame Generator / When Changing Member Type Does Not Update All IProperties

Nov 25, 2009

During some discussion with other uses of Inventor I was ask if I knew about a problem relating to Changing a member size in Frame Generator and the iProperties maintain the old members properties.

The basic problem is as follows:-You start with a simple frame, create all of the members save and then added to a drawing. The members frame come from the content centre which have been copied into a Custom Library to enable addition parameters to be added along with addition iproperties being automated such as DESCRIPTION.

Once the frame and associated members have been created and then save, if a user wants to change the size of the member inventor has to create a new part file and then inserts into the frame generator frame. However, I have found that if you review the iProperties of the new file the DESCRIPTION is the same as the one that was replace, however it was strange to see that the STOCKNUMBER and PART NUMBER was updated correctly. It seems to be only a problem with the DESCRIPTION property.

View 9 Replies View Related

AutoCAD Inventor :: Changing Model Parameter Tolerances?

Nov 11, 2011

Is there a way to change the model parameter tolerances thru the API? I haven't seen this issue in the discussions. I've found the   parameter.tolerance  property, but it looks like it only returns the tolerance, Is there a way to set the tolerance?

View 1 Replies View Related

AutoCAD Inventor :: Changing User Parameter In Assembly

Apr 1, 2003

I have a part file ("part1.ipt") that has a user parameter called "Height". When I open this file as a part document, I can modify the "Height" parameter to change the height of the part. This functionality works great:

Set oPartDoc = oApp.Documents.Open(sPartFileName, True)
Set oParameters = oPartDoc.ComponentDefinition.Parameters
'change part height to 30 cm
oParameters.Item("Height").Expression = 30

Now, I am wanting to add this part to an ASSEMBLY document, then change the parameter to 30, but have been unable to do it.
I have this so far:

Dim oAsmCompDef As AssemblyComponentDefinition
Set oAsmCompDef = oApp.ActiveDocument.ComponentDefinition
Dim oOcc As ComponentOccurrence
Set oOcc = oAsmCompDef.Occurrences.Add(sPartFileName, oMatrix)

After I add all the parts, I highlight a part in the assembly pane, I click on FxParameters but I don't see the User Parameters for the part. Are the User Parameters not available when a part is placed into an assembly?

This assembly will have multiple parts added from the same file name, but the "Height" parameter needs to be modified for each occurrence.

View 5 Replies View Related

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 :: Custom Parameter Column Changing In IPart Author Table?

Sep 3, 2013

When I place a custom ipart (a simple one in this case) the length in my table changes
 
Inventor Professional 2014.
Windows 7 64 bit.

View 2 Replies View Related

AutoCAD Inventor :: IV2012 Sp1 - Delete Unused Parameter Takes 4-5 Seconds Per Parameter

Dec 23, 2011

I have user parameters that are no longer needed and are not being used anywhere.  They each takes 4-5 seconds to delete, prior to 2012 this would happen instantly.

IV2014 SP1 64bit
Dell Precision T7500, Geforce GTX 480, DirectX11 306.97
SpaceExplorer 4.04, 3DxWare 3.12.2
Twin Intel Xeon E5506 2.13GHz, 12GB RAM, Win7 Pro SP1 64bit

View 6 Replies View Related

AutoCAD Inventor :: Convert Model Parameter To Reference Parameter?

Oct 2, 2012

I need to convert a model parameter to a reference parameter thru the API.

I saw this item discussed in the group before, but I cant find the thread.

View 4 Replies View Related

AutoCAD Inventor :: Set Parameter For End Value Of Parameter Animation

Dec 19, 2011

I got a deadline for my project, but I got a big problem:

"I cannot set the "parameter" for the End Value in Parameter Animate dialog"

For easy understand, let's see a example:

1. I got a part which has two parameters named: "A" and "MaxA"
2. I animate Favorited parameter A.
3. The End Value is MaxA_ (Everything is ok)
4. I finish Studio environment, then I change parameter MaxA_ from 200 mm to 400 mm
5. I turn back to Studio environment, the End Value now is "200 mm" (I want this will be MaxA_, so I can animate the flexible parameter). 

show me how to keep the end value will be "MaxA_" after I change parameter? 

View 3 Replies View Related

AutoCAD Inventor :: Ipart - Standard Parameter Column Change Depending On Custom Parameter Column

Jan 3, 2013

I am trying to publish to the CC a guide rail. The vendor of the rail gives me the option of entering the desired length of the rail. After that he gives me the option to choose between the length that I entered and a shorter and longer standard length witch can be delivered faster.

I want to do the same thing with my published part, but I cannot make a key parameter to change depending on the entered custom parameter. I want the user to make the next steps when inserting from the CC: 1- select the size of the rail; 2-select the type of the rail; 3- enter the desired length of the rail; 4- choose between the desired length and the 2 recommended lengths (I need these 3 lengths to be shown)

Is this possible?

View 9 Replies View Related

AutoCAD .NET :: Changing Distance Parameter In Dynamic Block Doesn't Move Attached Attributes

Aug 28, 2011

 I have this Dynamic Block which has a few  distance parameters on it and  an attribute at beginning of each parameter which are attached to a stretch action. If   manually bring the block in. And  set a value to attribute and then stretch the it , attribute move along with action. But when I do it pragmatically it doesn't . Basically attribute stays at original location of original block before stretch. What is wrong with my code. Or Shall I do something to Attributes when I change the distance parameters in Program? I don't know .

I have a function which bring the block in and set attribute first and then another call which change the distance . So I don't show the first function which to me works fine . The problem is this part.

For Each myBRP As DynamicBlockReferenceProperty In myBRC
For I = 1 To NumbderOfDistanceParamsinDynBlk
If myBRP.PropertyName = "Distance" & Trim(i.ToString) Then
myBRP.Value = DynDistancevalue(i)
End If
Next
Next

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Using Macro Parameter Contains Space (changing Layer Color From Command Line)

Sep 19, 2013

I'd like to change a layer's color from command line because of a user icon. I figured out from previous topics that I should use macro similar to this: ^C^C_filedia;0;-la;s;Verdeckt (ISO);c;1;l;dashed;;_filedia;1;re;

(I want to use this macro to change layer's linetype, too, but that's not the point)

The only problem with this macro: layer's name contains a space therefore Autocad tries to recognize Verdeckt as a command (and macro interrupts there) instead of setting Verdeckt (ISO) as the current layer. I've tried using different quote marks, none of them worked (' and " and <>). I hope there's a method for entering a parameter that contains space.

Software: Inventor Series 2011 SP1 x64
OS: Vista Business x64
CPU: E6400
RAM: 2*2Gb GeIL
VGA: Quadro FX 550

View 5 Replies View Related

3ds Max :: Changing Common Parameter Of Multiple Objects

Dec 15, 2012

Is there a way to change a common parameter of multible objects — For example scale x parameter, or Length Segs parameter of say 20 box objects, and change that parameter for all of them as as easily as changing one? I used Max long long ago, but am coming from a Maya and Softimage background.

View 5 Replies View Related

AutoCAD Inventor :: Set IProperties Upon New / Save

Apr 10, 2013

I want to make popup the i properties windows to fill or change in 2 ways:

» when creating a new ipt, iam and idw
» just before saving all 3

the properties I want to validate are

-  the title not filled
- if there is more than one line filled in comments

View 1 Replies View Related

AutoCAD Inventor :: IProperties - Opening Using VBA

Mar 7, 2013

I am opening, using VBA, the iProperties "Pop Up" box, using the following code....

ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute

If it is possible to open the iProperties "Pop Up" box at a specific Tab, for example, "Physical" or "Status" etc?

View 1 Replies View Related

AutoCAD Inventor :: Part IProperties From IDW

Dec 5, 2012

Is there any way to add an "iProperties" item to the context menu in the drawing environment, so that I can select a part on the drawing and access its iProperties, instead of having to "Open, edit iProp, Close," for each individual part? - Using Autodesk Inventor Professional 2012

View 2 Replies View Related

AutoCAD Inventor :: Same Part Different IProperties

Jul 3, 2012

Any way of having 2 files with different file name but identical designs what automatic updates the other one?

I need the same valve design with different materials, stock number and part names but I would like to make sure that both files are always updated to latest rev. Without having to remember to do it my self every time.

We are using vault?

View 4 Replies View Related

AutoCAD Inventor :: IProperties Dialogue Box

Jul 9, 2012

Is it possible to create a new TAB in the standard iProperties dialogue box for Inventor Models and Drawings?  I want a completely new TAB to hold unique company information fields without having to create Custom Property fields.

View 2 Replies View Related

AutoCAD Inventor :: How To Delete Value In IProperties Using VBA

Aug 26, 2013

While in assembly, i would like to select a subpart and be able to clear or delete the value of ex description without opening the part file.

I can delete properties in custom prop but i cant do it in description....

I've use design tracking properties but to no avail....

View 3 Replies View Related

AutoCAD Inventor :: Retrieve IProperties From IDW To IPT

Dec 20, 2013

In the past we filled in our changes, we did on the part, in the iProperties of the IDW. In the IDW we use some Custom iProperties for this. That's not usefull because you want this data in the 3D-model. Now I have written some code to automate this, which works really great. This code works in the IPT as well as the IDW. But what I want to achieve is: When my IPT is the active document, I want to read out the iProperties from the IDW to check if there is already filled some of these properties, because I have to deal with 'old' documents as well.

So my basis question is: How can I read out iProperties from an IDW into the IPT. I have found lots of solutions which go the opposite direction, IPT -> IDW. I want IDW -> IPT.

View 9 Replies View Related

AutoCAD Inventor :: How To Get Area In IProperties

Jul 26, 2010

I want to get out the Area in Physical Tab in i Properties, after that, I will show it out in drawing by add general notes

This is my program:

[code]
.....................

Dim oBlockPart As PartDocument
oBlockPart = mApp.ActiveEditDocument
..................
 
 Dim oGeneralNotes As GeneralNotes

View 7 Replies View Related

AutoCAD Inventor :: Add To The IProperties Dialog?

Aug 9, 2012

I need to add a "Gauge" value to show up in the iProperties dialog box under the Project tab, but I don't know how or if I can.

View 9 Replies View Related

AutoCAD Inventor :: IProperties And BOM Customization

Aug 15, 2012

I am now looking to work with custom iProperties that will populate our company's new BOM standard.  I have not done much with regards to customizing a BOM (I've always used the generic fields).  Now my boss has come to me and wants to use the following headings for our BOM....

REF ID, QTY. , DESCRIPTION, SHAPE, SIZE, LENGTH, MASS, TOTAL LENGTH, TOTAL MASS, COMMENTS, REF. DWG.
REV., REV. DATE

While I understand some of these fields will require the user to manually type information in (Comments and Ref. Dwg.)  The others, from my understanding, can come straight from iProperties or Parameters.  I am running INV Pro 2013. 

View 1 Replies View Related

AutoCAD Inventor :: Sync IDW IProperties With IPT?

Apr 7, 2009

i would like to be able to make a change in iProperties ( part #, description, stock number), and then automate/sync that change to the .idw of that part/project after the .idw is created.

is this possible? do i just need to fill out the iProperties BEFORE i make the .idw,

I really hope this is possible, we are going back and reorganizing all of our previous work and putting everything in vault now.

View 9 Replies View Related

AutoCAD Inventor :: IProperties Location Using VBA

Dec 22, 2012

How can I get the "Location" iProperty using Inventors VBA?

Please see the attached picture!

I am using the following code to get other iProperties, thus.....

Set oStockNumberProperty = oCompDef.Document.PropertySets.Item("Design Tracking Properties").Item("Stock Number")
StockNumber = Trim(oStockNumberProperty.Value)

This works OK.

View 3 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 :: Change IProperties Field Name?

Mar 12, 2013

I am trying to figure out if it is possible to change the iProperties default field names.  For example, in iProperties, under the Project tab, i want to change the field "Stock Number" to "Drawing Number".  I know that i could create my own custom field in a seperate tab, but i think this way would have a much cleaner look and simpler workflow.  If it is possible, is it something that i can incorporate into an ipt template?  Or will this only change on my system?

I am working in Inventor 2012 Pro

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







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