AutoCAD Inventor :: Part Number Driven By Parameters
Dec 7, 2012
I have 2 parameters in a part (a spring), "diameter" and "Length".
I change these parameters with iLogic to build several springs.
Is it possible to update the "Part Number" Each time I change the parameters "diameter" and "length"?
I want to get the following:
Mola_Ø-65_L-140
Where 65 is the parameter value and 140 is the length value.
I tried with the code below,
iProperties.Value ("Project", "Part Number") = "Spring_Ø-" Diameter "_L-" Length
but that returns: End of statement expected.
Autodesk Factory Design Suite Ultimate 2014
Autodesk Simulation Mechanical
Autodesk Simulation CFD
Windows 7
View 2 Replies
ADVERTISEMENT
Oct 28, 2013
I have two user parameters saved in a part template that are tied to the part volume and an overall estimated part weight. The user parameter Pc_Volume is the volume in cubic feet and calculated by pulling the part mass (in cubic inches) and converting to cubic feet via ilogic rule. This is then automatically run via event triggers before a file is saved and if the part geometry has changed to keep the volume up to date. These are exported because they get pulled into iproperties of our drawing files as well as used to create a parts lists showing the volumes and weights.
I have the property formats of the user parameters set to Number and to unitless and the unit display turned off so it does not show on the parts list, with a precision of 0.000 for Pc_Volume. The Pc_Weight is set the same way however with a precision rounded to the nearest whole number.
These are created this way so when we use the part file as the template when we select "Make Components" to separate our parts and tie them to an assembly all the files are then updated and the information saved for exporting.
The problem is, the Pc_Volume always comes in rounded to a whole number. The Pc_Weight Does as well, but that doesn't bother me since we want it to do that anyway. If I would go into the part file after it's created, double check the precision and then re-run the rule the volume will show up with the correct precision in the exported parameters. I don't want to have to open each partfile however to get this to update.
Attached are images of the parameters, ilogic rule, and exported results.
View 2 Replies
View Related
Oct 4, 2012
To create my new part, i used the deriven part of another part, and used only ‘Body as work surface’ before inserting in my new part.
When I create the drawing of my new part, why is it that I still see all the ‘Body work surfaces’ of the direven part?
When I make it on my other computer I dont see it... so it is surely an option…
View 1 Replies
View Related
Mar 27, 2013
I have an ipart which is being controlled by an external spreadsheet. Each cell references a cell within a spreadsheet on my local drive. I have a set a parameters that are used to completely define each part but I am also interested in some of the reference parameters (from driven dimensions) so that I can analyze relationships between reference and input parameters. Is it possible (without extensive programming in windows VB or other) to export data from this iPart into, prefereably, the driving spreadsheet or another spreadsheet?
View 3 Replies
View Related
Jun 24, 2013
I have some manufacturing dimensions that are an end result of my design so they are driven dimensions at the end of my modeling history and pulled into the ipart table. If I make some design changes I need these dimensions to update too. The problem is they do not automatically update and require a manual activation of each child memeber for the dimension to update.
The dreaded "The Values in the active row don't match the document's current values. do you wish to update the table before continuing" Click, enter, Click, enter, Click, enter.
Autodesk Inventor 2012 Certified Assosicate
Autodesk Inventor 2012 Certified Professional
View 1 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
Feb 19, 2012
Is it possible, if you have a merged BOM.row to get the total quantity of each part?
inventor professional 2011 / 2012 / 2013
View 4 Replies
View Related
Dec 3, 2013
Why when I mirror a part in an assembly the mirrored part gets a new part number? I want to mirror only the position of the part which is always the same part. Is it possible to do that in Inventor?
View 7 Replies
View Related
Jul 30, 2012
I need to use parameters of a part in an assembly. How to do this? Do i need to define a rule? How is this done?
Can i do it without using an Excel sheet as a parameter source for both the assembly and the part? The target is to have inventor update an array of assets as soon as the width of a part is changed whether in Excel or in the Factory properties of the asset.
View 5 Replies
View Related
Oct 11, 2013
I'm new to Inventor. Lets say I create a part called Pipe.ipt. In it I specify the OD, Thk and Length of the pipe. If I then create an Assembly, and I want to use multiple instances of Pipe.ipt, but each instance has a different set of parameters (i.e. different OD, Thk and Length). How do I do this?
I see I can set up iPart, and I could set up tables with the OD and Thickness for various standard pipe sizes. But this doesn't address the length. How do I re-use the same Part in an assembly, but each part has it's own set of unique paramenters?
View 3 Replies
View Related
Feb 13, 2013
I have a part made where various parameters in it.
Now I place the part in a assy and from there i want the parameters to control the part.
I do this now by the same parameters from the part to add in the assy by typing the parameters manually in the assy.
Is there a way that you can define parameters retrieved from the part about the assy without retyping and therefore can make mistakes?
View 5 Replies
View Related
Jul 13, 2012
How we can access the part parameters after hitting create iAssembly. do I need to make i parts first and then bring them to an assembly and make an iAssembly??
View 5 Replies
View Related
Mar 19, 2012
I have design tree like this:
Main Assembly
L Sub Assembly1
L Sub Assembly 2
L Sub Assembly 3
L part 1
in part i have a parameter name ("Panjang")... how to control "Panjang"?. I cannot access a part parameter in Sub-assembly.
[URL]
View 9 Replies
View Related
Nov 4, 2011
I am trying to control the parameters contained in a part that is not in my assembly. May sound odd, but I am using the multi body part modeling feature to create all of my bodies in a single part file, then making these components/sub assemblies, and pulling them into my assembly. However, I do not want to have the "control part" in my assembly, I just want it to drive the parts. I cannot figure out how to access these parameters without having the part included in the assembly...
View 7 Replies
View Related
Aug 7, 2011
I have the following problem. I design a simple part - an extruded base, so i have a parameter in this part that i can control the extrusion distance - i call this parameter D.
Then i create an assembly and place the part in it. How can i access the parameter D of the part from within the assembly?
I want to place multiple instances of this part in my assembly and control each parameter D of an instance using an excel worksheet that is linked with the assembly. How can i do it ?
My aim is to design a very simple manipulator. Each link has the same shape but a different length. I want to control each length from an excel worksheet and not from an ipart table. I want to have only one worksheet that controls the parameters of my assembly such as constraint angles , and link lengths.
View 5 Replies
View Related
Feb 18, 2013
I have a configurator assembly, which is controlled with an iLogic rule.
one of the parts is being changed in a lot of ways according to the different configurations. But in one of the Configurations the part must be suppressed, which works fine, however next time i run the rule i get an error message from all the other instances where it would change a parameter if the part was active.
I have tried adding if [the configuration that makes the part suppressed] = False then, in the beginning of the the code that fails, to simply prevent it from running, but it still makes an error.
and as you can see i have a lot of lines where the part normally would be configurated.
Error on Line 628 : Method arguments must be enclosed in parentheses.
Error on Line 629 : Method arguments must be enclosed in parentheses.
Error on Line 633 : Method arguments must be enclosed in parentheses.
Error on Line 634 : Method arguments must be enclosed in parentheses.
[code]........
I don't understand how to enclose the argument in parentheses.
View 9 Replies
View Related
Mar 28, 2013
In the recent past I've been putting textboxes (General Notes) on drawings, and using part-parameters in these textboxes to display the values stored in these parameters (see attached picture). Is there a way to automatically put a link to these parameters into the notes through the API / VBA so that these values update when the part changes? With the property obj_GeneralNote.Text it's only possible to add plain text.
Product Design Suite 2014
Inventor 2014, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)
View 1 Replies
View Related
Oct 22, 2012
I created a basic part using Inventor and some how something created some parameters out of the blue. I know that I didn't create the parameters. The parameters got created automatically some how and I would like to know how this happened so I can do it again, because it would save a lot of time.
Here are some of the parameters that got created.
vParam_Title
vParam_Project
vParam_Description
I have included the file that this issue occurs in.
View 9 Replies
View Related
Jan 22, 2013
My goal is to open have people go into a central assembly file, type in their specific parameters and the various part files update within the assembly. I wish to do this without the need for an excel sheet, but when I try to link the parameters from the assembly file to the part files, it will not allow me to insert these parts. I get an error about an "assembly can not be placed into itself."
Iparts will not work as this has an infinite amount of sizes.
View 3 Replies
View Related
Jul 19, 2013
I made an assembly that adjusted to sized based on some key parameters. These key parameters are controlled by a form in the main assembly. The keys parameters actually adjust the skeleton file, which then drives the frame, then all the parts are adjusted.
after changing these parameters all necessary parts would adjust to size and keep the location constraints. Worked quite well.
The issue now is that, we adopted a new naming convention and this assembly requires all the part files to be renamed. I meticulously saved each part as their new name and then replaced each component in the main assembly. This worked to an extent. The problem that I am facing is that when I saved each part as there new name, the new part retained the linked parameters to the old part. Is there a way to change this link to the newly name skeleton file?
I looked into design assistant for this process as well, but the only changes I think available were to add a prefix or suffix. If worse comes to worse, I can remodel this project but, I am sure there has to be a way to alter this.
attached is a single part with those parameters in the image above.
View 2 Replies
View Related
Jun 12, 2013
Is there a standard command or command sequence that allows for the changing of a parameter, say length, of a component from within an assembly. I'm looking to compile a code that allows for a template to be created, then that template will do changes based on text box input and then save out the modified parts with new part numbers.
View 2 Replies
View Related
Dec 8, 2011
I have some parts with varies User Parameters that allow cusomization of part features. With numeric user paremeters we can check the export parameter box and then, in the description of the part we can refrence that parameter. For instance the description could be: =Width <Width>, Height <Height>, etc. Where it would desplay as Discription: width 22in, height 12".
We also have text User parameters. Is there a way to add these parameters to the description as well? They do not have the option of checking the export parameter box in the parameters table.
View 1 Replies
View Related
May 21, 2012
I would like to have a rule that will add specific user parameters to a part file. These parameters need to be formatted so the width, depth and thickness will control the description of the part.
IE:
Width=4
Depth=2
Thickness=3/16
DESCRIPTION = TS <Width>X<Depth>X<Thickness>
I would like to format each parameter so that the:
Format=Fractional
Precision=1/16
Unit string=False
This is what I have so far:
oMyParameter=ThisApplication.ActiveDocument.ComponentDefinition.Parameters.UserParameters
oParameter=oMyParameter.AddByExpression("Width", "TOP_RAIL_WIDTH", UnitsTypeEnum.kInchLengthUnits)
oParameter.ExposedAsProperty=True
oParameter.Units="in"
[Code]...
The TOP_RAIL parameters are from a linked file.
View 9 Replies
View Related
Apr 4, 2011
How do I edit a derived part with a part file and include parameters I'm after?
I cant' seem to work out how to get to the reference components parameters to select whats visible and not visible.
View 3 Replies
View Related
Sep 5, 2013
I have an assembly which contains a CComPtr<ComponentOccurrence> pThisCompOcc , and I'd like to do two things.
Get the name of the "base" object, not the display name of the occurence Change the model and user parameter values of the occurrence I suspect that I need to find the function or method which gives me a CComPtr<PartComponentDefinition> pPartCompDef which the occurrence points to for the Q1, but what about Q2?
Presumably the parameters are associated with the Component Occurrence and the "real" name is associated with the Part Component Definition?
View 6 Replies
View Related
Jun 10, 2013
Is it possible to search & find where a dimension listed in the parameters dialog occurs in a part model ( in which sketch for example)?
Inventor Suite 2013 Ultimate
View 1 Replies
View Related
Apr 29, 2012
I am finally getting time to do some organizational cleanup and management with our templates and vault settings. Many of the things are items that I am altering for each drawing/model I make and I would like to make them "stick" for the company standards. Things like altering font size in the styles library, adding part dimensions to the parameters for the parts list, and creating a new content central library where our part numbers are already populated for the parts list and the structural shapes have datum planes in the middle rather than just at beginning and end.
Inventor Premium 2013 SP1.1
Vault 2013- plain vanilla version
HP G71 notebook
celeron cpu w 4gb RAM and 64 bit system
Win 7 home premium
View 2 Replies
View Related
May 11, 2004
Wouldn't be nice if you could use part parameters (description, part number, etc...) in the sketch mode text tool?
I'd like to emboss the actual part number on a part without having to retype the part number in manually.
View 1 Replies
View Related
Sep 18, 2013
I want to use the part number propertie to change the sheet name in the .idw
So when i insert a new sheet and place a part the part number wil be placed in the title block and i want to change the sheet name to that part number.
View 9 Replies
View Related
Feb 13, 2013
I name my files with our part numbers and the revision number. Our part numbers are 6 to 9 digits long and sometimes start with a zero! My iLogic rule, while simple, drops the first zero if its there. See the "FirstNumbers" below: (I tried to add the CStr(), but now I see that it just changes it to text after it drops the zero!)
ThisFile = ThisDoc.FileName(False) 'without extensionFirstNumbers = CStr(Val(ThisFile)) 'sets the first numbers from the file name to textPartNumber = iProperties.Value("Project", "Part Number") 'reads part number from file
'check to see if the part number is the same as the file name's numbersIf String.Compare(FirstNumbers, PartNumber, True) = 0 Then'do nothingElse
'set the Part Number to the file name's numbersiProperties.Value("Project", "Part Number") = FirstNumbers
'let's me know that something has been doneMessageBox.Show("Part Number has been set to " & FirstNumbers, "Part Number from File Name")End If
View 5 Replies
View Related
Jun 11, 2013
I created a bom export rutine but when a virtual component is the same as a inserted standard part the rowmerge does not work.
See example picture in attachment.
View 2 Replies
View Related