AutoCAD Inventor :: Possible To Locate Where A Parameter Is Used In A Part
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
ADVERTISEMENT
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
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
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
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
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
Nov 3, 2013
In 2013, I had an optional part parameter for pipes called "Velocity", and it worked fine. We use a network catalog, and I was trying to use the same part catalog for 2014, but it gave me a Runtime Part Parameter Configuration Error for the Parameter Name "VEL". So I copied the "Pipes Catalog" folder from my C drive for 2014 and pasted it to the network. I then revised the AeccPartParamCfg.xml in the AeccShared Content folder with the same information as I had in the previous network catalog.
Specifically, I added the following line in the xml file
"<AeccDfParameter name="VEL" desc="Velocity" context="FlowVelocity" index="0" datatype="Float" usage="Double_General" unit="" visible="True" internal="True"/>"
and further down in the xml file under
" <AeccParamUsage>
<AeccPartDomainCfg domain="Pipe_Domain">"
I added the line "<AeccOptParam context="FlowVelocity"/>"
see the attached image 1-Old AeccPartParamCfg xml file.JPG to see images from the xml file.
I got the same error when I opened C3D 2014. I added an underscore between Flow and Velocity for context, and it worked! (See attachment 2-Revised AeccPartParamCfg xml file.JPG)
So C3D 2014 opens without the error. I click on Part Builder and click on RCP (formerly Concrete Pipe from OOTB part catalog) under pipes. I right click on Size Parameters and click "Add..." which takes me to the New Parameter dialog box as seen in attachment 3.JPG. It shows three of the optional properties I have added: Pipe Classification, Friction Slope, and Velocity.
I add these three optional properties and edit their configurations as seen in attachment 3.JPG. I give Friction Slope and Velocity both a range of 0 to 1000 with a default of 0.
I create a new parts list and add the part family RCP. I click to add part sizes and get the final dialog box on attachment 3.JPG. Velocity doesn't show up! Pipe Classification and Friction Slope show up, but no velocity!
I have tried deleting the 'VEL" line in the xml file, copying the "FSL" line and pasting and revising it for velocity, but that didn't work. I tried switching the FSL and VEL lines in the xml file to see if FSL would disappear and VEL would appear, but that had no effect.
C3D 2014
Windows 7 64 bit
View 5 Replies
View Related
Oct 1, 2007
I'm struggling to hide a piece of such a block (using Visibility Parameter).
View 2 Replies
View Related
Jan 3, 2013
I am trying to publish to the CC a guide rail. The vendor of the rail gives me the option of entering the desired length of the rail. After that he gives me the option to choose between the length that I entered and a shorter and longer standard length witch can be delivered faster.
I want to do the same thing with my published part, but I cannot make a key parameter to change depending on the entered custom parameter. I want the user to make the next steps when inserting from the CC: 1- select the size of the rail; 2-select the type of the rail; 3- enter the desired length of the rail; 4- choose between the desired length and the 2 recommended lengths (I need these 3 lengths to be shown)
Is this possible?
View 9 Replies
View Related
Aug 12, 2012
I am wanting to add a field to my pipe parts to store the pipe pressure and stiffness class separately to give me the most flexiblility with my labels is this possible thru the partbuilder interface I got to here but can not see a way to add custum field. There are some extra build in fields like material are they hard coded or can you hack the xml file directly to add additional fields.
View 3 Replies
View Related
Sep 12, 2012
Is there a property or method that can control the location of the name for a detail view? For example the picture below. Detail "B" represents the api default. Detail "C" representes where I want to put the text. All the properties, aside from "Name" apparently deal with the detail view itself.
View 1 Replies
View Related
Apr 16, 2012
After looking thru the api, i'm finding it hard to get a list of orphaned dimensions.
I can get a list of all the dimensions...easy.
I've basically deleted a part from the assembly and now want to remove that dimension in a section view on the drawing document.
But looking / comparing the properties of a non-orphaned vs an orphaned shows nothing.
Is there an orphaned list?
Is there a color override switch somewhere?
Or can I somehow get the object that the dimension is trying to reference and check to see if it is valid or has a valid file reference...or something?
View 8 Replies
View Related
Mar 20, 2013
Using Inventor 2012 SP2
Have been using Inventor for 6 months or so after being on Solidowrks for many years.
With the settings I have from the start I have been avoiding using adaptivity because it causes more problems than it seems to fix. Just ran into this problem a few minutes ago.
Basic rect angle iron frame, put holes in them for fasteners. Created the cover and constrained it to the frame assembly. Used project geometry to locate all the holes in the frame onto the cover. Use the "Hole" feature and everything is good with the world.
Then changed the side pc of the frame, shortened it by 1.25 inches. Would not update until I deleted the cover and the fasteners. Even then I had to go thru all the constraints I used, edit them back to the number I had used. Once I did all that the frame was the correct size.
I must be missing something serious, it has to be easier than this to use adaptive parts.
View 9 Replies
View Related
Nov 15, 2011
I set up our company log which gets embossed on most parts as a sketch block in an .ipt. The .ipt contains nothing but the sketch block. To use it, the designer only needs to derive the Logo.ipt file into their part and then use the scale setting to set the derived block to the desired size for that part. The result is a scalable set of line geometry that can easily be used for extrusion or emboss that is standard for all users. It works beautifully, that is until you try to use it in a sheet metal part in 2012.
For some reason, when this same part, which works perfectly in normal parts, is derived into a sheet metal part an error pops up stating that, "Selected part does not have any geometry that can be derived." Say what?
I was able to find a workaround by directly copying the block into the sheet metal part, but you no longer have the ability to go back and scale it if needed. Even more strange, when the block was copied over, it could not be deleted from the new part.
Is this just a bug with 2012? Why does it work in a normal part but not sheet metal?
View 7 Replies
View Related
Mar 28, 2012
Dear Sir, In particular project, when I insert part in Assembly file, It is inserted as a Tube & Pipe run part. so that It is not Grounded automatically. What is the settings by which I can insert as a normal part in assembly file ? I have attached herewith the JPG file also.
View 3 Replies
View Related
Dec 28, 2012
The part i make is from solid model>The part needs to be in sheet metal.What steps do i use to make as sheet metal part and have option to flatten part.
View 1 Replies
View Related
Dec 11, 2013
I would like to simplify this assembly into one seamless part for FEM calculation:The assembly consists out of parts that, in reality, will be welded together. Due to their form, there is no way to place them exactly onto each other, therefore there are slight gaps between the parts:
Now when I try to merge the assembly into one part via "simplify" --> "create simplified part" and choose "single solid body with seams between planar faces merged", Inventor does not fill these gaps (even though it displays only one part in the bottom right corner of my window). Unfortunately, the remaining gaps brings "contact" problems in the FEM simulation.
how to close the gaps and really merge the assembly into one part?
View 6 Replies
View Related
Nov 15, 2013
New user 2014
Part created in assembly does not update to part file.
View 9 Replies
View Related