I have created a form in which I need to see the volume value. For that I created a User Parameter that is set to be equal with part's volume:
Volume=iProperties.Volume
What I don't like is that the precision for the parameter is too long and I can't change it. I changed the precision in Document Settings and also for the parameter itself in the Parameters window, but these changed don't affect what is the form.
I am working on a form (global) and have added a picture with a parameter and a picture folder underneath. So that the picture displayed on my form will change depending on the parameter value.Here comes the trick. Only text parameters can be used!On the form editor only 'Text parameter' can be selected to drive the picture selection. I actually need an integer, so that i can use my User/Excel parameters from Inventor.
I can work this around with an iLogic rule to equal the value of my string Picture Parameter with the relevant integer Inventor parameter, but the rules need to be run before the pic and the form updates (by pressing the 'Apply' button at the bottom of the form and then the assy updates too. So this takes a couple of minutes)... whereas if it was an option on the form editor then the update would be instant without waiting for everything to update...
Is there a particular reason why the Picture Parameter only can be a text parameter?
I would like to use a multi-list parameter in a form, that isn't a problem. However I want the selection to be copied to a custom parameter when the form closes. Is there anyway to fire a rule when the form closes or to add a multi-select list to a parameter, in a form?
Any way to modify a user form parameter's read only status using a rule?
I have a parameter that I want people to be able to edit when another parameter is set to true and to be locked if it's set to false. The only thing that comes to mind is have a rule that will just switch the value back automatically if the user changes it but it would be good if i could control the read only status.
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.
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?
How to set display of precision in my parts list to just one digit?
When I edit parts list set up im styles editor or edit parts list and go format column, apply units formatiing and set columns for one unit type and precision, then I get an error about units being incompatible because some items I have listed as each some by lf.
How to change precision in one column of parts list and keep unchanged unit formatting?
I've recently been playing with the "Retrieve Dimension" feature in IDWs to pull the model dimensions and tolerances from the IPT. I'm wondering if I am understanding the behavior correctly.
The IPT Document Settings > Default Tolerance "Use" and "Export" standard tolerance values boxes are checked.
I have standard tolerances defined for .xx and .xxx precisions. Default in the IPT is .xxx.
If I place a sketch dimension and extrude a feature, place that part in an IDW, and "Retrieve Dimension," the result is that the dimension's precision and tolerance are defined by the active IDW style.
However, if I place the sketch dimension, and then modify its precision to be something other than the IPT default, when I "Retrieve Dimension" in the IDW, it pulls the modified precision and tolerance from the IPT settings.
Is this the expected behavior? When I see the box in the IPT Default Tolerance tab that says "Export Standard Tolerance Values," I understand that to mean that the standard tolerance values in the IPT will be propagated to the IDW. Is this incorrect?
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)
I am working on updating my Parts List and ran into a little issue. When I make a Parts List with components from the content center, in this case some angle, I cannot get the correct precision.
See attachment.
The first picture shows the correct units in the QTY column but I would like the 2.000ft to just be 2ft. If I modify the style to correct the precision it adds the units to every item in the QTY column as you can see in the second picture.
Is there a way around this without editing the Parts List each time I create one?
All the values I put in to set my tolerance are being rounded to three decimal places even though the value is four place and I am setting the dimension precision to four place.
For Example: I have a hole of diameter 2.0466. It is to have a tolerance of +.0005/-.0000. When tolerance.setToDeviation is called, the .0005 is strangely forced to .001 and is set as this in the part file. The precision value had already been set to 4 at this point.
I am using the following code in Inventor 2010:
'Create hole feature Call oCompDef.Features.HoleFeatures.AddDrilledByThroughAllExtent(oLinearPlacementDef, dDiameter, kExtentDirection) 'Get hole feature just created Dim oHole As HoleFeature Set oHole = oCompDef.Features.HoleFeatures.Item(oCompDef.Features.HoleFeatures.Count) ' need most recent index
When referring to flat pattern length and width you can make an custom iproperty and add =<Sheet Metal Width>. You can then add 2 fields in the drawing parts list and set precision, trailing zeroes and unit string on/off.
Most companies have 1 field for 'Size' or put size inside description and then you cannot format
The problem is that if you fill in description: =Sheet <Thickness>mm, <Sheet Metal Width>x<Sheet Metal Length> you get the following:
Description: Sheet 15mm, 3411,978 mm x 2000,000 mm
i Want to have Description: Sheet 15mm, 3412x2000
You can't change property format as you can with user parameters you set to export as far as I know. Is there a way? excluding iLogic, which would only be a half baked solution. I would really like to have width and length as a sheet metal parameter, rather than a iproperties formula.
I have had a problem with retrieved dimensions decimal precision. I set the precision to 1 decimal place in the ipt but when I retrive the dimension it set the precision to 3 decimal places. I then go to the precision control in the drawing and change it to 1 decimal place.
If I then go back to the ipt and edit the dim, the drawing precision then jumps back to 3 decimal places. (This is particular to the decimal precision for the tolerance of a dimension). How to sort this out?
How can I change the precision of Driven Dimensions. I have a Driven Dimesion in a sketch that I want to use in another dimension later. Let's say that d59 is a Driven Dimension.I want dimension d80 = d59*2. When I measure it using eight decimal places, I can see that it is rounding d59 to 3 decimal places, but I don't want it to do that because then d80 is off.
I'm using ilogic to automatically build standardized descriptions that are linked to a field in our PDM system for future searches. The problem is that the variable "Length" (shown below) can sometimes be a whole number so it drops the trailing zeros and I want it to always be a two decimal value.
Formula:
iProperties.Value("Custom", "2ND_SUBTITLE")=CStr(ID)+" ID x "+CStr(OD)+" OD "+CStr(Round(Length, 2))+" LG"
Is there a way to get columns in form? I would like to put
Hole F Type { List the types} Hole F Location {input box} Hole N Type { List the types} Hole N Location {input box} Hole G Type { List the types} Hole G Location {input box}
I'm trying to enter a model parameter value with a VBA form, but I don't know which type of control to use neither how to write the code. I want to enter a number or a value with any control and use this value for modify a model parameter.
I have a simple code with a line:
oModelParams.Item("z").Value = 25
I want to make something like:
assuming that "TextBox1.Value" is a numeric value obtained with a control at the form
I have a ipt which is controlled via an ilogic form,this form is opened by ilogic code, which in turn is triggered when the ipt is opened.
my problem is when the part is placed within an assembly the said form is triggered and the same happens when the assembly is reopened!.... I would prefer if the form opened only when the ipt is opened or edited....
Is there a snippet of code for this? Or is it even possible?
I am creating a large form. The goal of the form means I am unable to break it down into smaller forms as there is a great deal of interaction between all levels of the form.
One of my first fields is a multi-value field (Foundation Type) with four options (None, Slab, Piers, Wall). Three of those options have a group of fields lower in the form with between 1 and 5 fields.
(Multi:Value Option: Example of fields specific to that option)
I currently disable all of the groups of fields that are not part of the active option in the primary multi-value field throught the (Enabling Paramter Name) option with a rule. This keeps the user from entering values that affect a Foundation Type that is not currently active, but the disabled fields take up a lot of room on my form and may confuse end user less familiar with the system,
The group function in the form has a minimize toggle next to the group name, but the Form Editor does not show any options to manipulate this toggle. Is there a way to automatically toggle this minimize/maximize function through a rule or other means)? Or are there any other means of hiding form fields that are not currently enabled?
I have a form for adjusting center distances between several posts, up to a total of 20 posts. The number of posts is adjustable depending on how many I need. If there is 10 active posts there will be 10 suppressed post. When there are 10 suppressed post, I don`t need them in the form. Is it possible to hide the center distances I don`t need?
I have a global form which is exactly made for a specific assembly for configuration of this very assembly. To make things easier for the user I call another external rule which only opens exactly this assembly.
Now when the user opens the form the assembly is not open and obviously can´t reference the used parameters.
Even after loading the assembly the parameters are not available, which results in something like this:
So this is a really simple question, is there a way to update a form so that it rereads the parameters from the assembly?
What I tried is using iLogicForm.CloseGlobal("Name of form") to no availability and then open it again with iLogicForm.ShowGlobal("Name of form").
But I couldn´t find any further info on the iLogicForm Commands.
I have a iLogic Form which includes several Tabs. Can I control which Tab is active if I select a radio but which controls which feature is active in the part? I have attached a picture of the Form.
I am trying to put an immediate update box on my form in ilogic. I want to be able to change parameters on my form without updating the model. There is this option in the parameters window but not in the form. How can I accomplish this?