I've been looking for a solution to remove the unit string ie Lbs, g, kg from the value given from a 'Mass' value in a text string.
As you may all know, creating text and having a 'physical property - mass' value...the unit string is there...
Lots of people on here have the problem...no-one has got a solution.
Until now...
Basically...open the part you need to get the mass property of in your text string.
Follow the instructions on this webpage...this is the first part...
[URL]
Basically, this creates a Mass property value in the parameters table that you can call on as a text parameter.
It's similar to the custom iproperty model - mass but NOT the same.
Once you have done this, you can go to the drawing of the part and create a text string in the drawing and call it up as shown in this procedure. BUT it still has the unit string.
Here's the best bit that you want to know...
To get RID of the unit string...open up the part again from the drawing...click on the parameter icon...find the user parameter...in the Nominal value column, right click on the value and you get a pop-up that gives you 3 options...
Custom Property Format, Make Multi Value & Delete Parameter.
Click on Custom Property Format.
The pop-up window comes up...showing you the property type...in my case...the 4 left columns read Text, g (grams), Format & Precision...
On the right hand side I have a Preview of the text...then 3 check boxes...Units string, Leading Zero's, Trailing Zero's.
Units string is checked.
Uncheck it.
Close it...Save your part...go back to the drawing and hey presto!...the text now shows the weight you require as a straight value...no units!
I´m trying to write a script to convert all the blocks in a drawing to mass elements and export them to IGES thereafter.
I would like to select everything first. Then launch refedit and select all the blocks.
After that I would like to convert them to mass elements. When saving to IGES I would need to select everything again.
I pieced the following script together, but it fails. I think it is bexause of the request to select objects manually. Could I add a delay which would enable me to select an object?
Also it looks like ACADA is not accepting the "all" command when pselect is called by a script.
--- PICKFIRST 1 select All efedit OK
A N _AecMassElementConvert ALL _REFCLOSE _SAV _EXPORT all ---
A quick search of the forum didn't reveal answers to my elementary question so here it is. I'm working to get some design components manufactured overseas. The manufacturer uses Pro/E but in one of their very cryptic emails they told me to convert all files to .stp and .igs files. What I need to know is which of these file formats applies to assemblies and which applies to part file. In other words, when I open a part file, should I export it as a .stp file, or a .igs file?
I had made several "stickers" with some draws and colors with Autodesk Inventor, now i have a problem... my supplier can't open dwg files (2D)...how can I convert a ipt file to AI or CDR files?
(these are the extensions for the programs that they work...)
i am developing some code to read in mass dxf OR dwg files, seperate the two, then convert each to a database to be read later. however, whenever i run it, i get this error: System.AccessViolationException:
Attempted to read or write protected memory. this is often an indication that other memory is corrupt.
at AcDbDatabase.dxfIn(AcDbDatabase*, Char*, Char*) at Autodesk.AutoCAD.DatabaseServices.Database.DxfIn(String fileName, String logFilename) at ZahnerCommands.Commands.GetFiles()....line 72
here is the code that i have so far. i have been tinkering around with it for a few days and cannot seem to get it to work. the dxf file i have chosen works perfectly well, and i am using autocad 2011.
using Autodesk.AutoCAD.ApplicationServices; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.Runtime;
Open one *.idw file press ctrl+p, set A4 or A3 and then click "ok" button and "save" button (using PDF Creator)
Next step is same - open another *.idw file and save it as pdf, but another *.idw file can have 2 sheets, so I have to open second sheet and do it same thing.
So i have for example
workfolder/part-123.idw
workfolder/part-123.pdf
and i need do this for every *.idw file (including their sheets). So its really long time and i dont have time.
Is there a simple way that would allow - for example to open a folder and convert it all in idw files to PDF automatically ?
Is there a way to convert a bunch of files at the same time from one image file format to another? I am converting JPEG to PDF. I had it all finished (I did it manually),
I was checking my prints and noticed that the mass for the assembly was not shown correctly. The mass for each component is correct, but the mass for the assembly is less than the total mass of the parts..... how can that be?
Watch this video. The mass for my assembly is reported from iProperties as 10 lbs, but the mass for one of the parts is 60lbs. I would expect the mass for the assembly to be at least 60 lbs, but it is not. I tried a "Rebuild All" and an "Update Mass" on my assembly, but that did not fix it (30 sec mark in the video).
This assembly is part of a much larger assembly (around 35,000 parts). There are several more assemblies doing this and I need to get the mass correct.
I have an assembly that i need to know the mass of, easy enough, however the assembly needs to be weighed without some of the parts in it. I hought i could simply uncheck "enabled" of the unwanted parts and re check the mass, however it does not change. Any solution besides adding the wanted parts individually?
have one assy comprising of a valve, made in steel, an actuator made in aluminum, total weight combined is 36 kg.
I make this assy a derived ipt.. i have tried all the output options, single solid, multy solid and the weight is not the same.. since its a new ipt has its own material, ok makes sense.. .. So i use composite, i get the correct weight (yay), but now i cant turn the visibility off on the 2d drawing, in certain pipe spool view representations.
What is the correct procedure for turning multi material assys into an ipt.. to get the correct weights and get the drawings to work properly?
In assembly file - BOM - mass property, parts with the same name (part number) i get "VARIES"..Parts have a little bit different mass - 0,167kg and 0,168kg. I do not want to have different part number.
So, i'm going to do something like this in iLogic :
I have recently made a bucket for chain (linked) and was looking to put the chain in the bucket for visual purposes and to see if the capacity of the bucket is correct.
I can get the chain linked together, however when rotated round it passes through another piece of chain.
Is there a way in inventor to tell a part/assembly of it’s physical/mass properties? I know you can make something mild steel and get weight etc, however if not constrained it still passes through as if it’s a ghost.
I need to add weight to my parts list and notes for both parts and assy. Is there a way to get the weight parsed out from the model without the "lbsmass", just the pounds number no nomenclature I have a couple of other questions on parts list customization also. Also are these better questions for the customization group?
I've got about 200 photos that need to be re-cropped from 720x486 to something smaller. Is there a way to do this to the entire lot with a single command?
I'm having trouble getting mass properties of an assembly to display in an .idw. I've tried it 2 diffent ways, custom properties-model "Totalmass" where I type the mass and physical properties-model "mass" where it's automatic with update.. Nothing shows, not even N/A, but in another idw (different assembly) it works. Both text boxes are saved within a sketch that is part of a template. Both idw's use the same template. If I place text on the drawing it self it works.
To get net weight of my parts i have one template that uses the volume x density and to get the gross weight I use the real dimensions of the item (a rectangular plate without any cutting, e.g.) and then calculate x density, this way i can get both weights, and how in the most of times I need the gross, I overwrite the MASS PROPERTIES of each part with my gross weight. It works fine because all the assemblies sum the MASS of each part (that is over writed by the gross weight).
Now my problem:
In many cases when I need to use the same part many times with just a few of different details, instead of copy the part and change it, I use the same part, and in the IAM I use one feature to make this part different (like a chamber, small extrudes or even holes). But now I realized when I do this (feature in the IAM), it doesn't sum all the MASS properties of each individual part anymore ... it recalculate all the mass with the new IAM volume (with all the features)...so, in my BOM I got all the parts with the correct gross weight, but my total mass comes with the NET weight (and considering that I need the GROSS, i got the wrong mass).
Is there a way to change the way that inventor overwrite this mass in the assemblies ? with Ilogic, or even some Inventor's option ?
Is there any way to force an update of mass property values of a component from within an iLogic routine?
I am trying to produce a calibration chart showing the volumes of an irregular shaped object by taking incremental slices off the component and accessing the "volume" of the remaining portion, then writing the the results to an external file - All from within a "For - Next" loop.
The main routine works O.K. but the resultant chart only shows the original starting volume for each slice instead of the required reducing volumes.
I am a novice with iLogic and can only assume that I must somehow "update" the mass properties of the sliced object before reading its new volume on each pass.
We want to obtain the center of mass of two or more subassemblies within an assembly. How to do it? The subassemblies may or may not be connected to each other directly.
My company recently installed Inventor 2013. In previous versions we used a part with negative density similar to seawater to calculate submerged weight and CoG.
In IV 2013, it seems that the ability to calculate negative mass is not longer available.
This is how it worked in pre 2013 IV, when I could specify a negative density.
What I have is a spool made of steel. This spool is modelled as an iAssembly with four configurations:
-In air, empty
-In air, filled with glycol
-Submerged, empty
-Submerged, filled with Glycol
For this example, I now need three parts:
-Steel Pipe
-Glycol derived from the inside volume the pipe
-Seawater buoyancy derived from the outside volume of the pipe.
Each part has its own density, and the assembly weight and CoG correspond to the assembly configuration (with or without glycol) and environment (in air or submerged).
The seawater buoyancy represents the water displaced by the total spool assembly, regardless of the contents. To achieve correct weight in the submerged state, the buoyancy material has to have a negative density.
I do not want to make any of the mass parameters static, and I also fear that the CoG might not be updated correctly when using that method.
As I no longer can define a negative density, any optional method to achieve this without overriding the mass value.
I am wondering if it is possible to do a mass change of all project files at once. What I wish to change is my content center location, template location and style manager file locations. I have all these setup already and tested with one project but I dont want to do it with the other ... LOTS! ... manually unless I must.
I think there might be a bug in Inventor 2012 with regards to derived components and their physical properties, otherwise I've never noticed it before...
If I derive a component and use an IAM as the Base Component and choose the 'Single composite feature' as the option then the physical properties of the newly created derived IPT is the same as the original IAM. That is expected behaviour when you choose one of the Solid options, but a Surface shouldn't have a mass - by definition.
If I use an IPT as the Base Component, I get the expected behaviour, i.e., a surface doesn't have a mass.
The whole purpose of creating a 'Single composite feature' as a surface is unnecessary if it's going to have physical properties...