AutoCAD Inventor :: Change Units Of Measure In IProperties?
Jun 21, 2013
Is it possible to change the units of measure in the iProperties from lbmass to tons for instance? I deal with very large, heavy concrete objects and tons is the way we show mass. Also use cubic yards instead of cubic inches.
I am trying to programatically update Units of Measure on a part or document through Document Settings, but the changes are not reflected. I cannot save the file, because the file is a result of import, so I want to leave it up to the user. During import, I am recognizing what type of units the import file has, and I need to impose them on the document, and immediately show. I cannot use templates. There is a similar issue when the Units of Measure are updated manually through the screen, they are not reflected.
I want to chose the better, to start drawing. I use inches at work, but I want to use international system for myself for personal projects
I think there is a standard unit in files imported o r exported from another soft, smaller files, easier size to process by pc, quicker units to introduce, accurate, prototyping models soft compatibility, etc.
Any previous criteria for recommendation is perfect.
¿Which is the best measure units to use? Spoiler (Highlight to read)
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?
How to add a virtual part from an excel list to assembly using vb.net plugin. I`d like to know how to change i Properties of the virtual part through vb.net.
The iLogic code that I would typically use is:
Dim occs As ComponentOccurrencesoccs = asmDoc.ComponentDefinition.OccurrencesDim identity As Matrixidentity = ThisApplication.TransientGeometry.CreateMatrix Dim virtOcc As ComponentOccurrenceIf v_qty >= 1 ThenvirtOcc = occs.AddVirtual(sVirtPart, identity) Try iProperties.Value(sVirtPart & ":1", "Project", "Description") = oProp1iProperties.Value(sVirtPart & ":1", "Summary", "Title") = oProp1 Catch End Try.......
so for the plugin I need to re-write this
Dim _invApp As Inventor.ApplicationDim occs As ComponentOccurrencesoccs = asmDoc.ComponentDefinition.Occurrences Dim identity As Matrixidentity = _invApp.TransientGeometry.CreateMatrix Dim virtOcc As ComponentOccurrence If vp_qty >= 1 Then virtOcc = occs.AddVirtual(sVirtPart, identity) 'Try ' iProperties.Value(sVirtPart & ":1", "Project", "Description") = oProp1 ' iProperties.Value(sVirtPart & ":1", "Summary", "Title") = oProp1 'Catch 'catch error when oProp1 = nothing 'End Try
How should I re-write the text in bold , so it works?
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.
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?
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 am creating a custom table in a .idw through VB. I was looking for the code that would tell it to make a column have units formattng. For example, instead of my thickness to be 0.5, I want it to show 1/2 in. I know you can do this manually in the table editor, but I cannot find any bits of code that will do it in VB automatically.
is there a way to change units, lets say i am making a wall with a unit of meters and suddenly i want to make a sofa with a unit of inches or a bed with a unit of feet.. is there a way to do this?
even if i change the units of the FORMAT tab, it stays the same...
I have been trying to draw in mm, i.e, when i draw a line 1000 i want it to be 1000 mm. but currently when i do that i'm getting a line way too long, cant even zoom out to see it fully. i can only draw shorter lines (ex. 30) to be able to see it fully.
I have a query on the units for Autocad, every time i start Autocad up it defaults to inches, i have to change the units manually to mm using in units. is there a way to set this that i don't have to keep doing this?
I have some drawings that are drawn in millimeters. I need to add to the drawings but when I type 36 I get a line 36" long. I need to change autocad so that when I type 36 it draws a line that is 36mm.
I am drawing a plan view of building that is 11 feet by 36 feet. I thought my map units were in feet but when I draw in the linear dimensions, it reads 11 inches x 3 feet. How do I change this?
I'm having an issue with dimensions changing from when I save the drawing to when I reopen it.
I'm using AutoCAD Mechanical 2009, exclusively in 2D. I save drawings in AutoCAD 2000/LT 2000 Drawing format to maintain backwards compatibility with our legacy documents which are still in regular use.
The exact process is: 1. Create dimension in existing drawing. 2. Set units of dimension. Typically this is fractional. 3. Save and close drawing. 4. Reopen drawing, and all of the dimensions units are set to decimal to the fourth decimal point.
If I interact with the dimension in any way, it will return to its set unit. For example, if I double click on it to bring up the Power Dimensioning window and just click Okay without altering anything, it will change back to its set unit. Likewise, if I move the dimension itself it will return to its set unit as well.
So far my solution has been to simply select the entire drawing at once, then move it X units one way, then X units back. The move back and forth will return all the dimensions to their set units.
Obviously this is not ideal, especially when sending drawings to co-workers who are unaware of the issue or even using different versions of AutoCAD.