AutoCAD Inventor :: Parameter Not Rounding Correctly

Oct 7, 2013

I'm getting unexpected results using "round( )" in the parameters table. File attached (Inventor 2014). Details below.

width = 35.125
end_result = round(width)

Nominal value for "end_result" is 35.039370. Why is this not rounding to exactly 35?

View 5 Replies


ADVERTISEMENT

AutoCAD Inventor :: How To Make Model Adjust Correctly When Parameter Changed

Dec 13, 2011

I have a school project due tomorrow and I am almost completely finished. Except one part says that "Model adjusts correctly as __ varies". When I change a parameter, only that parameter changes and the rest of the part remains the same. I'll attach the assigment. I'll attach my work also if requested.

View 9 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 :: Using Floor (rounding A Number Down) Within A Rule

Jul 13, 2012

Any information about using the floor command within iLogic. i have written the rule ok and it does not come up with an error. However the rule doesn't actually activate, as the component pattern it is set to gives it 7.6 ul. Inventor then automatically rounds this up, the floor rule should counteract this but does not.

View 2 Replies View Related

AutoCAD Inventor :: Drawing Dimensions Rounding Modulo Five?

Jun 27, 2012

How can I round drawing dimensions modulo five, keeping them dynamic?

If I have length equals 203, I can get rounded length 205. Besides, having 206 - getting 210.

If in model length changes to 313 - I'll get 315, when 316 - 320.

Probably, I should override value, using VBA. Are there other abilities?

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 Inventor :: Function Evaluation - Rounding To Nearest Whole Number

Mar 14, 2012

One of the users on mCADForums discovered this bug.

"I have a value of 3516.41mm and I want to round it to the nearest whole number.

I have tried to use the round command and it seems to round up to the nearest 10 so 3516.41mm would round up to 3520mm. So how do I get would I go about rounding to the nearest whole number?"

I suspect this is due to Inventor's internal units being cm.  However as we specific "a" to be in mm and "b" to be in mm this should not be happening. 

View 1 Replies View Related

AutoCAD Inventor :: Rounding Decimal Dimensions To Nearest Fraction

Dec 9, 2011

Way to round decimal dimension values to the nearest 1/16"? For instance, 43.0599 would display as 43.0625 (On a drawing). Tried playing with tolerances, but thought it would be better addressed as customization.

View 7 Replies View Related

AutoCAD Inventor :: Exported Parameters Updated Through Ilogic In A A Part Rounding To Whole Number

Oct 28, 2013

I have two user parameters saved in a part template that are tied to the part volume and an overall estimated part weight.  The user parameter Pc_Volume is the volume in cubic feet and calculated by pulling the part mass (in cubic inches) and converting to cubic feet via ilogic rule.  This is then automatically run via event triggers before a file is saved and if the part geometry has changed to keep the volume up to date.  These are exported because they get pulled into iproperties of our drawing files as well as used to create a parts lists showing the volumes and weights. 

I have the property formats of the user parameters set to Number and to unitless and the unit display turned off so it does not show on the parts list, with a precision of 0.000 for Pc_Volume.  The Pc_Weight is set the same way however with a precision rounded to the nearest whole number. 

These are created this way so when we use the part file as the template when we select "Make Components" to separate our parts and tie them to an assembly all the files are then updated and the information saved for exporting. 

The problem is, the Pc_Volume always comes in rounded to a whole number.  The Pc_Weight Does as well, but that doesn't bother me since we want it to do that anyway.  If I would go into the part file after it's created, double check the precision and then re-run the rule the volume will show up with the correct precision in the exported parameters.  I don't want to have to open each partfile however to get this to update.

Attached are images of the parameters, ilogic rule, and exported results. 

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Passing A Value From The Action Parameter To A User Parameter

Dec 1, 2013

I need to use the dimension created by an action-parameter as a variable in a user defined function but AutoCAD will not allow me (see attached).

How may I access the action-parameter's dimension ?

View 1 Replies View Related

AutoCad :: Use User Defined Parameter To Drive Action Parameter?

Feb 7, 2012

it is possible to use a user defined parameter to drive a action parameter.

I have several polar and linear stretch actions i would like to drive from one parameter.

View 3 Replies View Related

AutoCAD Inventor :: Control Parameter With XML?

May 27, 2012

in Inventor 2010 we can save and load iLogic Paremeter with *.xml and just in my opinion we can control parameter using *xml or html. It's right or false?

how to control Inventor parameter with *.xml?

View 2 Replies View Related

AutoCAD Inventor :: Generating A Parameter

Oct 26, 2012

I need to extrude a simple shape between two planes and then get the length as a parameter. Is there anyway of generating this? All I can find is a parameter for the angle of the extrusion.

View 3 Replies View Related

AutoCAD Inventor :: How To Change G_L Parameter From In To Mm

Aug 24, 2013

I have generated frame that has 100 members in it. Is there a quicker way of changing G_L unit to a mm so that I don't have to go into all 100 parts to change the custom properties?

Also I do not need unit string to be appear in my BOM.

View 9 Replies View Related

AutoCAD Inventor :: Dimension And Parameter

Apr 14, 2009

I set a dimension to a 2dline. The dimension is automatically added to Model Parameters. How can I find , by code, the line which length is driven by the parameter ? Or, starting from the line find the parameter which indicate its length ?

::GetDependents(), nor ::GetDrivenBy(), nor ::GetParent() gives me the answer.

View 7 Replies View Related

AutoCAD Inventor :: Get Parameter Value From DWG File

Aug 6, 2012

I'm trying to get a parameter value from an Inventor .dwg file, but I keep getting an error saying the file is not found. I use this same code all over the place between different parts but its the first time I'm tried it using a dwg. Can you not access an Inventor .dwg parameters using iLogic .

MsgBox(Parameter(ThisDoc.Path & "MyDrawing.dwg", "Customer")) 

View 1 Replies View Related

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 :: How To Get Parameter From IPT File

Aug 8, 2012

I created a *.iam file. And from this asembly file, I need run some rules in *.ipt file.

I use

Parameter("PartA:1", "d12") = d12

to give d12 parameter in my assembly to d12 parameter in *.ipt. It works.

But I need get parameter in the *.ipt file after running the rules in *.ipt.

so, I put 

d13 = Parameter("PartA:1", "d13")

following above line.

But everytime, I just be able to get the result before *.ipt run the rules, not after.

I noticed the rules in assembly were compeletely run, then run the rules in *.ipt. So, the result is not correct.

I am using Inventor 2009 with ilogic. XP OS.

Autodesk Inventor Professional 2013 (64 Bit) SP2
Windows 7 Professional Service Pack 1
Intel(R) Xeon(R) CPU E5645
12.0 GB Memory

View 9 Replies View Related

AutoCAD Inventor :: Set Material As Parameter?

Jan 31, 2012

I would like to have the material, color etc. as parameter so i can change it with an ilogic form. 

In this video you can see what i mean:

[URL]

When I make a ilogic form i can only select parameters and iproperties.

View 4 Replies View Related

AutoCAD Inventor :: Use Filename As Parameter?

Nov 8, 2006

Is there a way to use the filename to drive the parameters of the file?

Example: I have a cube that is called 4x4x4.ipt its dimensions d0,d1,d2 are 4,4,4 respectively. I want to rename it to 4x4x6.ipt and have the dimensions d0,d1,d2 resize to 4,4,6.

View 9 Replies View Related

AutoCAD Inventor :: Cut Sections Not Shown Correctly

Oct 30, 2013

I am trying to cut sections using Inventor  I will begin by saying I am a fairly new user. On numerous occasions I am running into an issue where the section cuts are not shown correctly? I have attached an image showing an example of what I am talking about, you can clearly see that there are bolts and plates that should be displayed in the section cut which is shown above.

View 6 Replies View Related

AutoCAD Inventor :: Rip Feature Not Completing Correctly

Oct 12, 2012

I am working on a sheet metal tee and i am having a problem with the Rip feature on this particular piece. I am not understanding why it will not rip all the way through this part.

Part was created with Inventor 2013

View 4 Replies View Related

AutoCAD Inventor :: IPN View Not Shading Correctly

Sep 24, 2013

I have an IPN exploded assembly in an idw file. The individual parts were created in a multibody solid and sent out to and assembly using the "make components" command. My normal way of working is to leave the source part with appearance sent to "default". One the bodies are sent out to individual parts i manipulate material and appearance in the individual IPT files. 

This is the problem..

The IPN file looks fine with the correct appearances when i open the IPN file. However, the iso view to the IPN in the IDW file does not shade correctly. It appears to shade all parts in the original gray "default" appearance. 

The idw with the linked files are about 7MB after packngo and zip. Attach won't work. Please provide alternate means to transmit file. In the mean time the best i can do is screenshots

View 9 Replies View Related

AutoCAD Inventor :: ILogic Not Updating Correctly

Dec 20, 2011

I am using a form to make the changes in the assembly, but when I change body styles ( 1 piece to 2 piece) it is not updating correctly unless I regen the rule.  It is having trouble with the 2nd body piece.  It doesn't want to change it unles I do a regen. 

View 8 Replies View Related

AutoCAD Inventor :: Parameters Not Updating Correctly

Jul 4, 2012

I have found a couple of times now a  problem with Parameters not updating correctly.  Last Tuesday (26/06/2012) I logged a call with the VAR and they are yet to contact me about the problem.  In the past when I found the same thing, a different VAR made excuses about not using the most current software as I developed the model on IV2010.  The Parametric model made use of VBA and Skeletal modelling and the VAR made excuses along the lines of we weren't running the most current software, didn't make use of iLogic and since I was using VBA and did not pay for the code checking service the problem for them disappeared as they were going to do no more.   When we finally upgraded to IV2012 and the problem still existed they consequently chose the excuse of my VBA code being the problem, consequently I then created a simple rule in iLogic and demonstrated the problem that way.

To summarize, the model is a Parametric Skeletal assembly, it utilizes VBA for a user interface.  The problem existed in IV2010, IV2011, IV2012 and IV2013.  There are pictures attached to show the problem.

View 9 Replies View Related

AutoCAD Inventor :: Custom VBA Function In Parameter

Jan 31, 2013

I've got a custom VBA function that works perfectly when called from a parameter in my part.

However, when in the context of my assembly, there is no error, but the function no longer runs, and the parameter text is red.

Apparently, the function is no longer in context?

I've heard of external rules, but have never implemented one.

Is there a way to declare my function and keep it in context regardless?
 
Public Function BumpHeight(dblHeight As Double, dblMember As Double) As Double Dim X As Integer X = 2 If dblHeight > dblMember * 2 Then BumpHeight = dblHeight Else BumpHeight = dblMember * X End If BumpHeight = BumpHeight / 2.54 End Function
Here is the Parameter:

 VBA:BumpHeight(ValanceBackBumpoutHeight;ValanceMemberSize) * 1 in

Update: (problem better defined)

What seems to be happening is that once I insert the part into an assembly, it creates a new blank copy of the parts' modules in VBA and the functions no longer work.

If I go to the VBA editor, 

There are now two copies of my part listed in the browser tree, but the new one is blank.

If I paste in my function to the new one, it will work until I return to the parent assembly.

Next time I come back to the part, it will have a new blank set of modules.

This appears to continue indefinitely...

see the attached screenshot.

At this point there are only 2 copies of the DocumentProject. The original still contains my functions, but the new one is blank.

I need these functions to work in order to build my model.

View 1 Replies View Related

AutoCAD Inventor :: Round Parameter Using ILogic?

Sep 20, 2011

how to round a parameter using ilogic.

For example. I have Roperev=Roperev_1. Roperev_1 is determined by an excel equation. I need Roperev to produce a nominal number because this parameter dries a coil revolution and I need the revolution to be a whole number.

I can not just round the excel result because the excel result needs to be multiplied by 2.53 to get the resultant for Roperev_1

View 9 Replies View Related

AutoCAD Inventor :: Finding Reference Parameter In IPT?

Jan 7, 2014

Is there a way to identify what sketch or Solid a reference parameter (d0, d1, d2 etc) is in / on.

View 3 Replies View Related

AutoCAD Inventor :: Pattern Subassembly By Parameter

Sep 5, 2013

In my head assembly I have a subassembly that has derived parts from my skeleton. My skeleton (part ending with skt in the picture) is in the subassembly.

In this subassembly I made a view representation: NoSKT..When this is activated the skeleton is hided (see picture).If I now make a pattern of this subassembly in my head assembly with for example a parameter from my embedded excel or a parameter in inventor "quantity = 2" inventor will add 1 element with the same view representation. Still no problem.

The problem is now when I change the parameter. If I change the quantity to for example 3, the view representation of the third element is gone and the skeleton will become visible.I have many parts like this in my head assembly and quite a lot of patterns. Which means a lot of skeletons become visible. Is there a way to stop this from happening?

View 2 Replies View Related







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