AutoCAD Inventor :: Set Mass Of Wire Part Equal To Last Parameter
Jan 30, 2013
I would like to add tree parameters to this part. One is a wire diameter. Another should be the length of the wire. The last should calculate the weight of the wire. Then I wish to set the mass of this wire part equal to this last parameter. Is it possible somehow?
View 3 Replies
ADVERTISEMENT
Jul 1, 2013
I have an assembly with 10 parts in it. We use many assembly features at the assembly level (Revolve cut, Extrusion cut..etc). How to find the mass difference of each part by comparing at its parts level and its assembly level.
View 1 Replies
View Related
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
Apr 1, 2013
I`m looking for the iLogic code that can change one parameter (user defined) for each (ipt) part in assembly (iam)
The one below doesn`t work.
Sub Main Dim oApp As Inventor.Application = ThisApplication Dim oAssy As Inventor.AssemblyDocument = oApp.ActiveDocument For Each oSubDoc as Inventor.Document In oAssy.AllReferencedDocuments On Error Resume Next Parameter(oSubDoc, "FH") = 15.26 Next End Sub
View 5 Replies
View Related
Nov 17, 2011
I would like the size of bearing to be included in addition to existing data to the File name, Part number and Browser name like for example the DIN 625 T1 does. I have copied the DIN 625 bearings to the custom library. I have added required info to File Name building and to the Part Number building in the custom library and now my Filename and Part Number are as I like to.
But I cannot find how to force the Browser name to be equal to Part number or File Name? [URL]
View 2 Replies
View Related
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
Mar 18, 2013
I've used Frame Generator to build a frame. Then in my idw , I've created a "part list" of the frame and added "Mass" to the Columns , some member shows the mass , but others show *Varies*, I note that when I leave out the "End Treatments" I don't have the *varies*,
View 6 Replies
View Related
Sep 19, 2013
how to mesh wire together in a pattern on a pole of say 60mm diameter and 1 metre length?
View 9 Replies
View Related
Jul 28, 2013
Is it possible to locate where a parameter is used in a part? Looking through every sketch to find a parameter becomes tedious when there are several dozen sketches and parameters in use.
View 2 Replies
View Related
May 26, 2013
There is a part with a model parameter in an assembly.
Is there a way to access the part's parameter from within the assembly?
View 5 Replies
View Related
Jun 24, 2013
I am trying to acheive copying parameter from one part/assembly to another part/assembly document and this is what i came out with:
Private Sub CopyParamToTarget(SourceFile As String, TargetFile As String, ByRef ParamList As ListBox) 'Declares the variables to be used in this sub Dim d_target As Inventor.Document = Nothing, d_source As Inventor.Document = Nothing Dim t_transaction
[Code]....
I did another version for Inventor VBA in which is quite similar to this length as well . . .
Tried using ComponentDefinition instead but it does not have access to the Parameters list.
View 5 Replies
View Related
Jul 26, 2012
this code works for parts. But how to change it that it works for assembly? I would like to select a part and than change the value.
m_invApp = GetObject(, "Inventor.Application")
' Get the Parameters object. Assumes a part or assembly document is active.
Dim oParameters As Parameters
oParameters = m_invApp.ActiveDocument.ComponentDefinition.Parameters
[code]........
View 5 Replies
View Related
Apr 26, 2013
I want to use a parameter in my assembly as the name of a part i'm referring to in a rule but so far I have had no luck making it work. My knowledge of iLogic is pretty limited.
I am making a configurator for a staircase and I am working on the stringers now. There will be 3 or 4 different stringers (each one is a separate part) and the configurator lets you choose things like the angle, length and height of the staircase by entering values for those in a form in the assembly. Once you are done entering the values, there will be an update button that will send all the parameters to the different parts that are in the assembly and have them change accordingly. Now, say I want the length to change. I enter a length and press update and here's my problem. To which stringer-part is it going to send the length to? I can make it send to all parts but that means that I have to write one line of code for each part and if I ever add a new kind of stringer, I need to check all the rules and new lines where needed. I would like to make this dynamic by having only one line in which the part name is the same as a parameter I have in my assembly
I can either write it like this:
Parameter("Stringer1:1", "Length") = LengthParameter("Stringer2:1", "Length") = LengthParameter("Stringer3:1", "Length") = LengthParameter("Stringer4:1", "Length") = Length
But I would like to write it like:
Parameter(""Assemblyparameter":1", "Length") = Length
Where Assemblyparameter is a text parameter and simply the name of the part that is inserted.
When I choose, for example, stringer 3 in my form, Assemblyparameter will be Stringer3. This would save lots of time in the future whenever new parts are added.
View 2 Replies
View Related
Oct 15, 2013
I'm trying to run a for loop to check a part's thickness parameter within an assembly but I do not know how to access that parameter from the assembly. Once I check that the thickness does not equal 1/4" I want to assign the sheet metal rule to be user defined. Here is what I got so far:
Dim SheetMetalRule As String = BODY_GAUGE & " " & SHEET_METAL_RULEDim assyDoc As AssemblyDocumentassyDoc = ThisApplication.ActiveDocumentDim partDoc As DocumentFor Each partDoc In assyDoc.AllReferencedDocumentsIf partDoc.ComponentDefinition.Parameters.UserParameters("THICK").Value = .25 ThenElse If partDoc.ComponentDefinition.Parameters.UserParams.Value <> .25 ThenThisApplication.Documents.Open(partDoc.FullFileName, False)SheetMetal.SetActiveStyle(SheetMetalRule)partDoc.SavepartDoc.CloseEnd IfNext
View 1 Replies
View Related
Mar 20, 2012
Have a bit of a puzzle that's been bouncing around a bit. Is there a way to delay a object following it's parent for a few frames? For instance, I have a hook attached to a crane that rotates around, the hook following it around. If I could have it follow the crane at a bit of a lag, allowing the cable to curve slightly, it would look a deal more real. I know I could hand animate it, but is there a way to set it up so that the hook will follow the crane after a delay of say, 10 frames or so?
View 1 Replies
View Related
Oct 11, 2012
I have modeled a car and rigged it fully with roll, till, steer, and wheels spinning. Then I realized that my steering wheel wasn't involved in the animation and when I linked it's rotation to the rotation parameter of the steering wheel to the x position of the steering rig (the red circle in front of the wheels) the steering wheel rotates in a rather bizarre way. So I tried everything I could find on the net to solve this problem, from turning the rotation from Euler to TCB (that didn't work), then I added a dummy into affect and that didn't work either.
I rotated the dummy inline with the steering wheel and aligned it's pivot points to the steering wheel, the wheel seems to rotate nicely when I rotate the dummy. But it all falls apart once I link up the steering rig to the dummy.
Also to note, it seems impossible for me to select the "wire parameter" option from the steering wheel, it seems I have to originate this link somewhere else to the steering wheel for the link to be made possible. Could it be because the steering wheel was a different file and merged in later on?
View 9 Replies
View Related
Oct 1, 2013
The commented code does not work. I want to be able to open a part and change its size parameters before i open the assembly. this code will run as an external rule in a new empty file.
If i can do it without opening the part, that is even better. Test can I open a part, change a param, then close part.
Dim fname As String
fname ="C:Workspacemy_progchanF_BB_L.ipt"
Dim pDoc as PartDocument = ThisApplication.Documents.Open(fname,False)
pDoc = ThisApplication.Documents.Open(fname)
These are just attempts to find a syntax that works. I need the method to change the parameter.
'param = pDoc.PartComponentDefinition.Parameter.Param("TKNS")
'pdoc.parameter.Param("TKNS") = 8
pdoc.Save
pdoc.Close
View 4 Replies
View Related
Oct 24, 2013
I have a multi body part that I componented into an assembly. I am trying to get the assembly parameter in this case, "Height" to drive the parameters in the part model. I think I am using the right code but I get an error when I run the rule.
View 5 Replies
View Related
Mar 19, 2012
Im quite new to customizing inventor and have been playing around with I-logic. I can get I-logic to enter values into existing ipt paramaters when run from a rule within the idw. I can also get I-logic to create a custom Paramater within the ipt using some copied API code, however I dont know my way around API at all yet. So...
I was wondering if it was possible to create a custom part parameter from an ilogic rule run in an idw with that ipt featured?
View 4 Replies
View Related
Nov 8, 2013
I have an assembly inside of Inventor Studio. One of the parts inside of the assembly has a parameter that I would like to animate. When I select the "Parameters" function within the "Animate" tab on the ribbon, I get an error:
"There are no favorite parameters defined."
This worked fine when I tried the same thing with only the part inside of Inventor Studio, but not when the part is included inside of an assembly.
View 3 Replies
View Related
Aug 14, 2009
What is the name of a value that might hold the total number of bends in a part?
Or at least how those feature are managed?
Simply put, I'd like to pull the total number of bends into a parameter so it can be exported later.
View 3 Replies
View Related
Jan 17, 2013
I have an iLogic template part that has a multi value parameter. In this case the product code can be selected from a list of 4 codes. In futre we may need 5 and the 5th may need to be available to older parts.
I would like to avoid having to add the 5th as an option to every part we've ever made when the 5th becomes required.
I'd like to have the list of codes stored in an external file (Possibly an xml) and the template part reference that file to acquire it's list of available codes. That way I can add codes to the xml and all the files will have their list of available codes updated.
View 2 Replies
View Related
Jul 26, 2013
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 Related
Dec 3, 2012
I'm using the "Part Number" parameter inside a block of text in my drawing, but when I export it to AutoCAD DXF 2010 format, the text in the exported file shows up as "<PART NUMBER>", instead of displaying the actual part number.
-Using Autodesk Inventor Professional 2012
View 2 Replies
View Related
Nov 28, 2011
I try to wire the length parameter of a taper object to the local Y-Position values of another object. It works fine until I reload the file. I get an MAXScript Wire Controller Exception error:
--Runtime error: Illegal self-reference in controller script
...and the parameter-wire dialog opens. The desired functionality returns by clicking the Update Button and everything works fine again.
View 1 Replies
View Related
Oct 3, 2011
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!
View 9 Replies
View Related
Sep 7, 2011
how to draw the intersection wire like a half circle passing over the other wire.
View 9 Replies
View Related
Dec 23, 2011
I have user parameters that are no longer needed and are not being used anywhere. They each takes 4-5 seconds to delete, prior to 2012 this would happen instantly.
IV2014 SP1 64bit
Dell Precision T7500, Geforce GTX 480, DirectX11 306.97
SpaceExplorer 4.04, 3DxWare 3.12.2
Twin Intel Xeon E5506 2.13GHz, 12GB RAM, Win7 Pro SP1 64bit
View 6 Replies
View Related
Oct 2, 2012
I need to convert a model parameter to a reference parameter thru the API.
I saw this item discussed in the group before, but I cant find the thread.
View 4 Replies
View Related
Dec 19, 2011
I got a deadline for my project, but I got a big problem:
"I cannot set the "parameter" for the End Value in Parameter Animate dialog"
For easy understand, let's see a example:
1. I got a part which has two parameters named: "A" and "MaxA"
2. I animate Favorited parameter A.
3. The End Value is MaxA_ (Everything is ok)
4. I finish Studio environment, then I change parameter MaxA_ from 200 mm to 400 mm
5. I turn back to Studio environment, the End Value now is "200 mm" (I want this will be MaxA_, so I can animate the flexible parameter).
show me how to keep the end value will be "MaxA_" after I change parameter?
View 3 Replies
View Related
Mar 4, 2014
I need to create a 100 wedges 'spinning wheel' graphic (like a pie chart but does not require pie chart functionality) with each wedge of equal size and spacing but can't seem to find a process that works.
View 4 Replies
View Related