AutoCAD Inventor :: How To Remove Units From Reference Parameters
Sep 26, 2013
I named a driven dimension parameter so I can reference it elsewhere in my model. The problem is that the driven dimension is in inches and the reference parameter does not allow me to change the units. I would like to use that driven dimension in my model and divide it by the pitch in a pattern to get the correct count for my pattern. The pattern dialog box is expecting a unitless input.
I tried creating a unitless user parameter that referenced the reference parameter but that did not work.
- I have drawing partslists with parameters that change automaticly - Based on a main assembly with a customized structured BOM, with information I fetch from the individual parts exported parameters (Ex. =Length <part-length>) - The main assembly is based on many sub-assemblys - Based on "Make Component" skeletonmodels - Based on embedded EXCEL worksheets in where I control my parameter values.
Now the problem expl.:
- Total I have about maybe 50 parts, witch have 15 parameters each, that I need to control this way. - In every single part I have derived it's parameters from the skeleton part, and exported them. - On some parameters I don't want to show the units, in most of the parameters I don't want the trial zeros.
So in the individual parts parameter table I choose "Custom Property Format" for the exported parametern in every individual part.
-uncheck "Trailing Zeros" and check "Apply to existing...", then uncheck "Unit String" for some parameters.
I lot of setup work with 50 parts, 15 parameters each (750 individual parameters).Every time I change a dimension in the embedded EXCEL worksheet, ex. a pipe dimension and thickness, a diameter for a revolved feature and so on, the units go back to it's default values again and I have to do all this parameter setup "Custom Property Format" again.
I have this little iLogic snippet that writes out the name and value of all parameters in active document.
doc = ThisDoc.Documentparams = doc.ComponentDefinition.Parametersnames = New List(Of String)values = New List(Of String)For Each param In paramsIf Len(param.Name)>4 Thennames.Add(param.Name)values.Add(param.Value.ToString)ElseEnd IfNextMultiValue.List("ParamsList") = namesMultiValue.List("ParamsValues") = valuesGoExcel.CellValues("COVER.DEFAULT.PARAMS.xlsx", "Sheet1", "A2", "A400") = MultiValue.List("ParamsList")GoExcel.CellValues("COVER.DEFAULT.PARAMS.xlsx", "Sheet1", "B2", "B400") = MultiValue.List("ParamsValues")GoExcel.SaveGoExcel.Close
The problem is it ignores the parameter's units and assumes cm for length and rad for angular. I need another nested IF - Then that says:
IF param.Values.'UnitType' is "in" THEN param.Value = param.Value/2.54 Else If param.Values.'UnitType' is "deg" THEN param.Value = param.Value*360/2/3.14159 End If
I'm having some difficulties with iLogic and reference parameters.
I have made a tube with a weird shape and I want to measure the longest length. So I have to cut the tube in a certain angle in relation with the center to measure the length.
The problem is that this angle is really hard to calculate.
So I tried making a rule where I can make my angle shift x degree and then measure the longest length. If the measurement is larger the previous measurement the angle will shift x degree again until the measurement is smaller than the previous.
So I made my starting angle 0 degree, I know this is for a fact not the longest length. And then I tried this rule. (before making a While rule).
And I noticed that on screen the measurement changes. But the reference - parameter stays the same. So it gives me the measurement on the starting angle & after rotating it again gives me the starting angle.
How can I get the parameter to update itself in between?
Dim measurement_length As DoubleDim measurement_length2 As DoubleMessageBox.Show("Start angle ", "My iLogic Dialog", MessageBoxButtons.OK, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1)angle_measurement_spec = 0RuleParametersOutput()InventorVb.DocumentUpdate()measurement_length = [code].....
When a table driven i-feature is placed in a part the parameters are reference. I believe that is how it has always been.Although, to my recollection in versions previous to 2010 when an i-feature was deleted the sketch was maintained and the parameters then became model parameters.
To test this I created a table driven i-feature from scratch to make sure it was not a migration issue.
I have include a screen shot of the deleted i-feature and the result of the parameters is shown. Verify that prior to 2010 the parameters became model parameters or did they stay reference?
I want to reference parameters in an iRule in such a way that the value of parameter A determines the value of parameter b.
In this case i want to reference the dimensional height of a UC beam into a parameter <UC_HEIGHT> and then allow this to determine the value of uc designation size in a parameter <UC_DESIGNATION>
This would be useful because instead of typing the uc designation of a beam into the part description or matl. list i can just reference a parameter.
Is this possible? Iv tried an iRule along the lines of
if parameter (uc height) = xxx.x then parameter (uc designation) = 'custom test'
I have an ipart which is being controlled by an external spreadsheet. Each cell references a cell within a spreadsheet on my local drive. I have a set a parameters that are used to completely define each part but I am also interested in some of the reference parameters (from driven dimensions) so that I can analyze relationships between reference and input parameters. Is it possible (without extensive programming in windows VB or other) to export data from this iPart into, prefereably, the driving spreadsheet or another spreadsheet?
I have some manufacturing dimensions that are an end result of my design so they are driven dimensions at the end of my modeling history and pulled into the ipart table. If I make some design changes I need these dimensions to update too. The problem is they do not automatically update and require a manual activation of each child memeber for the dimension to update.
The dreaded "The Values in the active row don't match the document's current values. do you wish to update the table before continuing" Click, enter, Click, enter, Click, enter.
Autodesk Inventor 2012 Certified Assosicate Autodesk Inventor 2012 Certified Professional
How do I remove excel data links from my Reference Manager (see attached image). What I have been doing is AutoCad erasing the graphics from my drawing but the link still remains in the xref manager window.
I have an old 3DSMax file that when I open it in 3DSMax 2011 I get an error saying it can't find a few JPG files needed for some materials. Normally, I would simply go into the material editor and delete the materials that are referencing that file, but I cannot find those materials no matter how hard I search. For example, I used the "Material > Get All Scene Materials" function in the slate editor, and looked at each one's maps rollout--but I could not find the problematic references.
I did find the problematic file references in the "Asset Tracking" dialog and figured I might be able to remove them in there, but alas I was unable to do so. Maybe I don't know the full extent of what the Asset Tracking dialog is for?
Is there a way to remove materials in the scene that are causing those problems? I'm not sure what is causing the error.
3DSMax 2011 | Windows 7 Ultimate x64 Apple iMac 27" Bootcamp Intel Core i7 3.4GHz 16GB RAM ATI (AMD) Radeon HD 6970M
Is there a way in the description field of an Inventor hole table to have mixed units? Some hole sizes at fractions, some at 2 plc, and others at 3 places.
Our school rercently updated to Inventor 2014, When working starting a new assembly we seslect the standard mm ipt icon, however as soon as you create a new compont it defaults to inches, we can change the units using styles editor, but this only changes this componont when you create another part it also defaults to inches.
Can you change the setup so that it will always be in mm.
I created an idw and annotated all the dimensions in default to inches. Is it possible to switch all of the units from inches to mm at one time? If so, how?
Im wondering if its possible to link either a constraint dimension to an action parameter or vice versa. Or using a linear parameter's value in an user parameter formula.
Its a 2D cylinder, for winding purposes we just have a rectangle, with a distance from the Y axis for radial.
Parametric dimensions: B=thickness, C=Lenght, R=radius User parameter: A=Diameter (R*2), Mass in kg ((((pi*(c*b))*(A+B))*1.25)/1000)/1000
For the BOM, i need A, B, C & mass
For drawing references for peoples on the floor, to distinquish a cylinder from a stick, we put lines at the top and bottom of the cylinder, 1mm distance inbetween them.
I figured that making a linear parameter + stretch on the thickness to replace the B parametric dimension, allowed me to make an array of that line, with increments of 1mm as i stretch the cylinder. The thing is that the mass formula cant take the value of action parameters....
Other alternative is to keep the B parametric dimension, and add a linear parameter as above for the array. But then i have 2 places to adjust, and from a test i made, if i change the R dimension, the linear one does not follow. Its very frustrating.
What i was hoping autocad would be able to do is distance1 for array to be same as B dimension, but it does not allow me to do that, unless im missing something.
We are using Inventor 2013 (Windows 7) and am trying to import an assembly created by a third party using AutoCAD. For the sake of this question let's assume the AutoCAD file contains a cube which is 10 x 10 x 10 units. The part should be 10 x 10 x 10 mm in size. We don't use AutoCAD so are unfamiliar with it but it appears to have no specified units, I could be very wrong here!
In Inventor we import the .dwg file and the cube is 10 x 10 x 10 inches in size.We can't figure out if the person who constructed the cube built it too large (reading mm off the drawing but constructing it using inches) or if we have missed something when importing the file into Inventor. We could scale the AutoCAD assemby but this could lead to a small but significant margin for error so we want to understand what is happening first.
I want to change the default precision shown in my drawing from two decimal places to three. In my .idw file the "Units" tab does not seem to be there. I see Standard, Sketch, Drawing, Sheet. I could change each dimension one by one, but there's got to be an easier way.
My drawing template title block has a section for estimated weight. This value and overall size is used to determine shipping methods of our products. This value is pulled from the Type->Physical Properties-Model and Property->MASS. There is no option to turn off units. When our clients look at the drawing, they often get confused with lbmass unit. example; When someone asks what the weight of the product is, we dont say it is 1300 pound mass, we say it is 1300 pounds. I have looked around all different forums and found no complete answer or solution to this.
The only thing closest to a solution that I found on this forum is to create a rule that creates a custom iproperty within the model. [URL]........
You then have to create a text field in your title block that populates from that custom iproperty but can only be done when a base view is inserted from a model that has the custom iproperty rule applied.
From what I have tried, you can create a .ipt template to save you from creating that rule to create a custom iproperty each and every time, but to populate the title block field, a user needs to create that text field and draw from that custom iproperty once the base view is set on the drawing.
I also found a way to incorporate mass without units but the information will be put into the parts list. So instead of the weight being "automatically" entered into the title block after inserting base view, I could create a parts list for every drawing. (Not a good solution) [URL].........
One last solution that I found, is there used to be a tool called iProperty Collection[URL]....... that gave users the ability to customize some Inventor functions. One being the ability to change the unit displayed for MASS. I haven't tried using this tool because the last update off the website stated in 2009; says the software is not compatible with Inventor 2009 64bit, since I am using Inventor 2012 64bit, I think this is a dead end.
I have a BOM that shows up as in units for length items and unitless for qty items. When I change the UOM to use FT units the non-length units get inch ticks. The qty 1 which means I need one shows up as 1" where I do not require a 1 inch part but one each. How do I remove the inch ticks?
It seems that parameters can not mix units. You can not use in or ul in a deg parameter. I want to roll a cylinder using a contour roll but I want the cylinder to have about an 1/8 gap at the seam no matter what the diameter of the cylinder is. So in order to calculate the calculated rolled angle I need to use "360-((0.125/CYLINDER_DIAMETER)/0.017453292)". I can not seem to get this equation in the parameter value because it has mixed units or in the multi-value custom equation. I can make another parameter that is ul and have it calculate it but I can not feed this value back to the contour roll parameter. I assume that the calulated parameter is ul and the contour roll parameter is deg.
I'm using Ineventor 2012 to export files ive made to cut them out on a CNC i recently bought. Ive been having problems with the CAM software im suing to genrate toolpaths (MeshCAM) making the part smaller than it actually is, so i made a 1"x1"x1" cude and imported it to MeshCAM, it imported the demensions 2.54x2.54x2.54 Why is invortor exporting the stl in metric not english units?
I have a model in imperial units with the parameter: Pin_Dia = 7mm.Now I'd like to use this parameter in a text field on a drawing, but its value will only display in inches.
(I don't know if it's called a field in Inventor, at least that's what the equivalent feature is called in AutoCAD.)I managed to fake it by creating a new parameter in inches: Pin_Dia_Metric = Pin_Dia * ( 1 ul / 1 mm ).
Now this shows up in the text dialog box as "7.0 ul." It still displays correctly, since the text field only shows the numerical value, but I really don't want to clutter up my Parameters list with a bunch of duplicated values for metric conversions.
Is there a way to change the units for just this one text field?-Using Autodesk Inventor Professional 2012
I using code similar to add a new part to an instance of Inventor, and it works OK. The problem is it is using the Metric Template instead of Imperial Template. I have check and confirmed my application preferences and they reflect "inches". Inve is the Variable name for my Inventor.Application.
Is there an easy way to put sum of all values in column in parts list?
I would like to sum up mass column to get overall mass in the end of table. Is there a way to do so?
I also have problem with units formatting. I have QTY column in parts list. Some parts are listed in EACH and some in MM. I have lengths given with format 120,000 mm. I would llike to set this to be rounded to full mm but I can not acces this setting for column because in some raws I have EACH unit. How to format it right without manually overriding?
I am attempting to bring a 2D ACAD sketch into Inventor in order to make a 3D model of a part. I am able to import the ACAD sketch in, however, Inventor's units are set to "inches". The ACAD drawing is in mils (thous) since it is derived from a printed circuit board (PCB). The issue is that Inventor thinks the sketch is 8500 inches long instead of 8.5 inches long.
I use a single IDW template for all my drawings. In it, I've got multiple dim styles.... One is Inch, one is mm, and one shows alternate units as Inch (mm).
In my titleblock, I've got a box that says "Units: " and I've currently got this setup as a prompted entry so that I'll have to think about it when I start the drawing and manually enter "Inches" or "mm" or "Inch (mm)".
Is there a way to automate this so I don't have to manually enter it, or remember to change it if the units change down the line?
When using alternate dimensions in hole notes it repeats the full note for both dimension units. I would like to only have the dimensional data have the alternate information and not repeat the full note (see attached file).