AutoCAD Inventor :: ILogic Mass Properties Update?

Aug 9, 2012

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.

View 7 Replies


ADVERTISEMENT

AutoCAD Inventor :: Physical / Mass Properties

Nov 8, 2011

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.

View 4 Replies View Related

AutoCAD Inventor :: Mass Properties Will Not Display In Text Box

Jul 9, 2012

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.

IV 2012
Vault Collaboration 2012

View 1 Replies View Related

AutoCAD Inventor :: Mass Properties Recalculated When Use Feature In IAM

Nov 21, 2013

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 ?

View 2 Replies View Related

AutoCAD Inventor :: Mass Properties For Parts And Assemblies

Jun 15, 2012

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

AutoCAD Inventor :: How To Find Mass Properties Of A Part

Dec 19, 2011

How to find the Mass Properties of a Part?I'm not able to find how to do it.

View 4 Replies View Related

AutoCAD Inventor :: Mass Accuracy In ILogic

Jul 3, 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].......

View 3 Replies View Related

AutoCAD Inventor :: ILogic Mass Varies

Nov 16, 2012

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) ?

View 1 Replies View Related

AutoCAD Inventor :: How To Calculate Mass Properties For Master Level

Oct 26, 2011

I am currently building an Iassembly and I keep running into this message whenever I go to save one of Iassembly members

It states " Do you want to calculate the mass properties for the master level of detail? if you select 'NO' Inventor will calculate the mass property for the currently active level of detail."

now when I go ahead and select yes or no, it goes ahead and places 4 BOM columns in my table with Default and Reference. What exactly does this mean? I keep deleting them and they keep coming back constantly adding more and more columns to my ipart table.

Since I am constantly suppresing and unsuppressing, adding and deleting components based on the configuration, I have to always be on another level of detail other the master detail correct?

View 2 Replies View Related

AutoCAD Inventor :: Updating Mass Prop In ILogic

Apr 8, 2011

I have an assembly that I am trying to get the weights every time I update parameters. 

View 3 Replies View Related

AutoCAD Inventor :: Form To Update Mass IProperties For All Parts In Assembly?

Sep 6, 2013

I would like to make a form that updates / creates custom properties for ALL parts in an assembly so that i dint have to go through them one by one.

Is there any sample code anywhere or a good code resource?

View 1 Replies View Related

AutoCAD Inventor :: Mass Properties Changes To Zero When Migrating Parts To 2013 - Custom Parameter

Feb 28, 2013

I am having trouble with mass prop exporting to sheemetal parts. It did work for 2012 now its not happening iv2013. service pak 1.1

View 1 Replies View Related

AutoCAD Inventor :: Update Physical Properties From Drawing?

Aug 30, 2011

how I can update the physical properties for a part or assembly, from a drawing? My drawing template is showing the total weight for the current part/assembly, and I would love if Inventor could update this using iLogic, so I don't get the "N/A" value all the time. 

View 5 Replies View Related

AutoCAD Inventor :: Physical Update Using ILogic?

Oct 12, 2011

Currently I am using I-logic and a form.  I have an assembly that I am pushing a volume from a part to the main assembly.  The volume updates in the part fine.  The issue is with the form is not updating when the file parameter updates.  If I exit the form and run the rule manually then the form updates.  how to update the form at the same time?

View 1 Replies View Related

AutoCAD Inventor :: ILogic Update Form

Sep 13, 2013

I´m having a bit of an issue with a form.

I have a global form which is exactly made for a specific assembly for configuration of this very assembly. To make things easier for the user I call another external rule which only opens exactly this assembly.

Now when the user opens the form the assembly is not open and obviously can´t reference the used parameters.

Even after loading the assembly the parameters are not available, which results in something like this:

So this is a really simple question, is there a way to update a form so that it rereads the parameters from the assembly?

What I tried is using iLogicForm.CloseGlobal("Name of form") to no availability and then open it again with iLogicForm.ShowGlobal("Name of form").

But I couldn´t find any further info on the iLogicForm Commands.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Update Styles On DWG

Dec 21, 2011

I am after a way of accessing the update styles on dwg so that I can run with rule below as most of our drawing stds have changed and old dwgs need updating the work flow is as follows.

 I need to access manage tab then update styles,then yes to all,OKUpdate all sheetsfind all parts list within all sheet and then annotate , style on format tab and then select Parts list - this will change all my old parts list to current style definition.Either run at begining of code below or run as seperate code

On Error Resume NextDim oDrawDoc As DrawingDocument oDrawDoc = ThisApplication.ActiveDocumentDim Sheet As Inventor.SheetDim Cursheet As String Cursheet = oDrawDoc.ActiveSheet.Name For Each oSheet In oDrawDoc.Sheets oSheet.ActivateDim oPartsList As PartsList oPartsList = oDrawDoc.ActiveSheet.PartsLists.Item(1)If Not oPartsList Is Nothing Then Resume Next'Call oPartsList.Sort("ITEM")Call oPartsList.Sort("PART NUMBER", 1, "DESCRIPTION", 1, "QTY", 1)iLogicVb.UpdateWhenDone = TrueActiveSheet = ThisDrawing.Sheet("Sheet:1")ThisApplication.ActiveView.FitEnd If Next

View 4 Replies View Related

AutoCAD Inventor :: Put Immediate Update Box On Ilogic Form

Aug 17, 2012

I am trying to put an immediate update box on my form in ilogic.  I want to be able to change parameters on my form without updating the model.  There is this option in the parameters window but not in the form.  How can I accomplish this?

View 1 Replies View Related

AutoCAD Inventor :: ILogic To Update Some Prints

Jul 28, 2012

I am new to the ilogic. I am wanting to use ilogic to update some prints as needed.

 I need to create and external rule to:

1) migrate the drawing to the lastest inventor version (2012),

2) copy all drawing resources (borders, title blocks, and sketched symbols) from a template file (.idw),

3) replace the title block and border with specified block and border. 

View 9 Replies View Related

AutoCAD Inventor :: Accessing Inertial Properties Using ILogic?

Feb 3, 2011

iLogic has the capabilities to access the physical properties of part files such as mass / area / volume etc. ilogic syntax to read the inertial properties of the part file such as Global Ixx / Iyy / Izz??

I can find it in the API help, but i don't really want to write it as separate code, just want to simply access it through iLogic interface.

Dell Precision M6400 - C2D 2.66 / 8gb / Quadro FX3700M / Win 7 Pro x64

View 4 Replies View Related

AutoCAD Inventor :: ILogic Unable To Update Title In IDW

Mar 29, 2012

I have an ilogic assembly that I change to different widths. And I want ilogic to put the part number into the title block according to the size of the assembly.

What I have works but won't update on its own. I have to open the ilogic rule and close it, then open the i properties of the idw and close before it will update.

View 3 Replies View Related

AutoCAD Inventor :: ILogic Subassemblies Won't Update Unless In Their Own Environment

May 2, 2013

I have an assembly which is made with a sub assembly. The sub assembly has iLogic code that both resizes it's parts and suppresses parts that arn't needed after a change in length.

View 5 Replies View Related

AutoCAD Inventor :: How To Update Drawing Template With ILogic

Oct 8, 2013

I made iLogic for assembly and drawing, now i want to update drawing template parameters thru ilogic, as i already linked Fx(parameters) & iProperties to Template, but for updating template i need to close file and open again that file,

currently m using this method.

What is the solution for updating drawing template (like Model Description, Drawing no.).

View 3 Replies View Related

AutoCAD Inventor :: Update User Parameter With Ilogic

Dec 28, 2013

Is it possible to update an existing User Parameter. While I can only  delete-create a new. In this case the connection is lost with BOMQuantity.

View 5 Replies View Related

AutoCAD Inventor :: ILogic Dynamic Parameter Update Off?

Aug 4, 2013

The rule iterates through an assembly looking for parameters. If it finds them it 'pushes' the value down from the top level Assembly into the sub-components.

It works well, but each component updates dynamically as the parameter value is changed. This looks a bit jerky and weird.Is there any way to write the script so the the updates all happen at once at the end?

' set a reference to the assembly component definintion.' This assumes an assembly document is open.Dim oAsmCompDef As AssemblyComponentDefinitionoAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition'Iterate through all of the occurrencesDim oOccurrence As ComponentOccurrenceFor Each oOccurrence In oAsmCompDef.Occurrences'check for and skip virtual components'(in case a virtual.
[code]...

View 7 Replies View Related

AutoCAD Inventor :: ILogic To Change Properties On Top Level ASM Components Only

Oct 18, 2013

After changing colors at assembly level only ,below is a rule that changes all parts that have material "Plywood" to poplar works great.

However I want a rule that does the same kind of change but on only temporally at assembly level only then we can change back to default colors by removing color override.

It would be good if we can do the following

Search assembly for .ipt files that have material that contains PlywoodChange to color using temporary override of "Clear - Light" Possibility of searching more materials within same rule ie : "Timber" to be black in color"Pvcu"to be white in color

Dim oCurrentDoc As Inventor.Document
Dim oDoc As Inventor.Document Dim oPartDoc As PartDocument
Dim oRefDoc As DocumentsEnumeratorDim oTargetColor As RenderStyleDim oNewColor As RenderStyleoCurrentDoc =

[Code].....

View 1 Replies View Related

AutoCAD Inventor :: ILogic Code - Change Custom Properties

May 31, 2013

<Subassembly document name>” = iProperties.Value("Custom", "CUSTOMER P.O. NUMBER") iProperties.ValueInDoc("<Subassembly document name>.iam", "Custom", "CUSTOMER P.O. NUMBER")= Ucase(InputBox("CUSTOMER P.O. NUMBER?", "Create Customer P.O.#", iProperties.Value("Custom", "CUSTOMER P.O. NUMBER")))

View 3 Replies View Related

AutoCAD Inventor :: ILogic Material Properties Change (2010)

Oct 12, 2011

why the script below doesn`t change Physical material properties? It changes the thickness of the part, but not material properties on the BOM...

ShThk = InputListBox("Sheet Thickness", MultiValue.List("ShThk"), ShThk, Title := "Choose Thickness", ListName := "Thickness")

' material thickness from multi-value parameter called ShThk
    
    If ShThk = 0.3125 Then
    SheetMetal.SetActiveStyle("5/16"& Chr(34))
    Else if ShThk = 0.25 Then
    SheetMetal.SetActiveStyle("1/4"& Chr(34))
    Else if ShThk = 0.1345 Then
    SheetMetal.SetActiveStyle("10ga")
    else if ShThk = 0.105 Then
    SheetMetal.SetActiveStyle("12ga")
    else if ShThk = 0.1793 Then
    SheetMetal.SetActiveStyle("7ga")
    End If

View 3 Replies View Related

AutoCAD Inventor :: Update Drawing Properties From Model IProperties Automatically

Jul 1, 2011

I like to keep the properties of my drawing the same as those of my model. Currently I must remember to hit the "updat copied properties" button in the drawing to discard any old drawing properties and replace them with the properties from the model.

Is there any way to automate this task (perhaps on saving the drawing?) I presume an iLogic rule could be created in the drawing template, just not sure how to go about it.

View 7 Replies View Related

AutoCAD Inventor :: Update And Save Assembly Through ILogic In Drawing?

Jul 10, 2013

as a part of automating manufacturing drawings, am trying to include ilogic code in the drawing , that would accept values from the user and store it as "user parameters" and make corresponding changes in the inventor drawing file.So, to replicate my issue on a smaller scale, i had created 2 parts and created an assembly out of these 2 parts. I used the assembly in my drawing.

In the Drawing i created a user parameter .. say "external_param". I am opening the drawing and changing the value of the user parameter through the (Fx) parameter table. 

doc = ThisDoc.DocumentIf external_param >= 50 And external_param <= 99 ThenParameter("block_1.ipt.d0") = 15 'change the length of the blockParameter("block_1.ipt.d14") = 3 'change the number of holes in the blockElseIf external_param >= 100 And external_param <= 199 ThenParameter("block_1.ipt.d0") = 40Parameter("block_1.ipt.d14") = 5ElseIf external_param >= 200 And external_param <= 299 ThenParameter("block_1.ipt.d0") = 80Parameter("block_1.ipt.d14") = 6ElseIf external_param >= 300 And external_param <= 399 ThenParameter("block_1.ipt.d0") = 160Parameter("block_1.ipt.d14") = 9End IfRuleParametersOutput()iLogicVb.UpdateWhenDone = True'InventorVb.DocumentUpdate()
 
As you can see, i have commented out InventorVb.DocumentUpdate() , im not quite sure what would accomplish the update and save of the assembly document in the background (without prompting for a save/update). I have also tried thisDoc.Save and thisdoc.update. Using these 2 commands along with the InventorVb.DocumentUpdate() or iLogicVb.UpdateWhenDone caused Inventor to Crash.

View 4 Replies View Related

AutoCAD Inventor :: Open And Update Drawing From Assembly Via ILogic

Nov 12, 2012

The right click context menu on the top level assembly (on the model tree in Inventor) has the option of 'Open Drawing'.

Is there a way to do that via iLogic? Unfortunately I can't figure it out if there is. I would like to open and update the relevant drawing.

Also have tried it the other way around, that is to run my rues in the assembly from the drawing since the drawing is the parent. But I am not sure how to reference the assembly.

View 1 Replies View Related

AutoCAD Inventor :: ILogic Update Color Of A Derived Part

Jun 4, 2013

I'm running an iLogic based model where I have a technical housing with 2 cover parts on top.

The first cover part is the basic part.

I use iLogic to assign a RAL-color to several parts in the assembly, also to that cover. The color is assigned to several features of the cover part.

The second cover part is almost identical to the first one.

So my first feature in the second cover part is a derived part of the 1st cover. I derived all the bodies.

When I'm in my assembly and I pick a RAL-color in my created customization form, the RAL-color only changes in the 1st cover part (the original), but it doesn't change in the second cover part, the derived body.

But....

when I manually open the 2nd cover part, and I right click on the derived feature and click on 'Edit Derived Part' ; the new color shows up immediately!

So, my question is if there is a rule for iLogic to update the color automatically?

View 5 Replies View Related







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