AutoCAD Inventor :: Updating Mass Prop In ILogic
Apr 8, 2011I have an assembly that I am trying to get the weights every time I update parameters.
View 3 RepliesI have an assembly that I am trying to get the weights every time I update parameters.
View 3 RepliesI have a .iam and .idw that i copied/designed from vault. The .idw has a sketched symbol that has a text box with the mass property. When update mass is applied the mass property in the text box does not. I ran into this once before and got it to work by re-inserting the symbol into the .idw but I can't get it to work. The orginal that was copied from works fine.
IV2013
Vault Collaboration 2013
How to set the mass calculation accuracy to 'Very High' when doing calculations in iLogic.
I asked for the iLogic equivalent to the VBA term:
' Set the accuracy to VeryHigh.
oMassProps.Accuracy = k_VeryHigh
and was provided with:
oMassProps.Accuracy = 24580 'k_VeryHigh=24580
However, I believe that the value 24580 is actually equivalent to k_Medium. Confirm the iLogic equivalent value of k_VeryHigh.
Original post: [URL].......
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 :
iProperties.MassOfComponent("fi_N1:1")=Round(iProperties.MassOfComponent("fi_N1:1"),1)
it works but is there any way to do it for all parts (hundreds) automagically in the loop (iLogic or VB) ?
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.
I have an assembly with approx. 200 unique parts. Most of them derrived from a common skeleton-file. And some (you could say a lot) iLogic code.
Depending on how big changes one makes, it takes between 10 sec and 60 sec to update. Considering the complexity this is ok.
But the problem is that it is difficult for the user to tell if the update is complete. I have tried to have the last line in my driving rule to show a messagebox: "Updating done". But the messagebox fires to early, and pauses the remaining updating. Even if I call InventorVb.Rebuild and/or ThisDoc.Document.Rebuild in advance.
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 RelatedI am using iLogic to change assembly dimensions, suppress components and constrains. Is there any way to turn off screen updating while iLogic rules are running?
Inventor 2013 SP2
Windows 7, 64 bits
RAM 18GB
Core TM2 Duo CPU 2,99 Gz
The following rule works perfectly as an external rule except the Materiial and Appearnace pull downs do not update. I know I am missing something easy. Here is my code
'Set the materials libraryassetLib = ThisApplication.AssetLibraries("iLogicTestMatLib")'Set the current document activeoMy Parameter= ThisApplication. ActiveDocument.ComponentDefinition.Parameters.UserParameters'Turn off error reporting on parameters and.
[code]....
I have a flange that I use iLogic and the parameters list to update the different styles. My problem is that my flange won't update until after I hit save and update. My other square flange is not this way. As soon as I change the parameter in my square flange it immediately updates. Is there anyway I can get my round flange to update immediately like my square flange? I attached pictures below.
View 1 Replies View RelatedI'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 get this message when i try to open an image in photoshop.. it says error: prop res dll not loaded.
View 5 Replies View Relatedhow can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?
View 5 Replies View RelatedI've been trying to feel out the pipeline for creating HIK rigs and jumping back and forth between Maya and Motion Builder. In Mobu, there is a way to add prop joints to a character's definition, but I haven't found a way to do so in Maya.
What I have done, is created the joints as necessary, and then created custom controls that the prop joints are constrained to. It's a simple parent constraint, so nothing too tricky. However, when I go to File-> Send to Motion Builder, the joints that are constrained are offset from their proper positions by a distance similar to their offset from the origin of the scene. The only way to get them back, is to turn off the effects of the parent constraints.
The controllers, and constraints transferred into Mobu fine, it seems. So I'm not sure where the discrepancy is. It would be ideal to be able to add these joints into the characterization step in Maya, to simply move them about with FK controls. What the best way to set this up would be? Is there a way to add prop definitions to a character in Maya?
While the original question remains, I found that the prop controls I had in my scene, were off from their proper positions, by the exact relative amount from the origin in the maya scene. Even though I froze transformations on the controls, coming into Mobu, they were put back on somehow. After selecting them, and setting their trans values to 0,0,0, they were put back into the correct position.
How can I see the mass of a solid, or if it's not possible, at least the volume.
View 1 Replies View RelatedI 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 am using 2013 x64, SP2.
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?
View 6 Replies View Related 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?
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 have added the mass properties and I do not want the lbmass behind it. How do I get rid of it?
View 5 Replies View Relatedi found same topics as my, but i didnt find solution.
Is there any way for mass convert idw files (not same format - A4,A3,A2, ...) to pdf ?
I tried task manager, but i dont have some account for it.
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?
View 2 Replies View RelatedI'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.
IV 2012
Vault Collaboration 2012
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 ?
How can see visually the center mass of a part or assembly?
When I'm checking in the Iprop., I see the center of gravity coordinates, but it there a way to "see" it (some visual representation)
Inventor 2012 Pro.
I7 workstation
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.
View 9 Replies View RelatedMy 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.
Autodesk Product Design Suite 2013 SP1
Win 7 Enterprise 64bit
Intel Xeon CPU E3-1240 V2 @ 3.40GHz
16Gb Ram
Nvidia Quadro 2000
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.
View 1 Replies View RelatedI 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...
I am having a problem with an assembly not showing the correct total mass of all of its components and sub-assemblies. The value is out by nearly 20%, over 3000kg!
I have narrowed the mass discrepancy down to a derived part of a sub-assembly. But this incorrect mass is only present when I navigate to the derived part's iproperites via the browser tree of the higher level assembly where I am having the mass problem. It is as though the top assembly got some of its mass property information from a previous point in time, i.e. possibly before the derived part's mass properties were updated, and now refuses to look at the current information.
By the way, I have opened up and checked the mass properties of each sub-assembly and the derived part; and when opened individually these show as correct. I have also tried 'Rebuild All' with no success.
Is it possible for mass properties in an assembly to become corrupted?
I initially entered a few overrides for mass on some parts that I have included in a large assembly. However I now want the calculated values of mass to be used and not the overridden values. I go to the part file, erase my value, and click update and it now shows the calculated mass for that part. However in the assembly it still shows the initial overridden value even though I have tried updating it. How do I use the calculated mass values in my assembly?
View 1 Replies View Related