AutoCAD Inventor :: Part Parameters In GeneralNote Object
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)
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.
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?
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??
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...
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.
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.
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.
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.
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.
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.
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.
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:
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?
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
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.
in iParts factory I would like to create part ## by setting common name and adding to it different values drawn from part parameters.
Please refer to attached image – common name in that example would be “DRILL” and description of the diameter and length automatically taken from parameters in columns “DRILL_D” & “INSERT_L”.
So I have a multi-part solid of a symmetrical object, meaning that some of the pieces on each side are going to be identical (just mirrored). Some objects I would like to keep separate during the "make components" function because of the bends on them.
But for some of the solids, the ones that are identical on each side of the model, I do not want to create a part file for each identical solid. I want inventor to make one .ipt and put it in the assembly file twice (one on each side.)
The work-around is to only make one of the solids into a part then open the assembly, re-insert the part, then re-constrain it.
This code works with no errors but does not change the text size. A user can over ride the text size (Font size) so I'm hoping it is possible thru code.
Dim oSketch As Inventor.Sketch Set oSketch = oPartDoc.ComponentDefinition.Sketches("Sketch1") Dim oText As Inventor.TextBox Set oText = oSketch.TextBoxes.AddByRectangle(pnt1, pnt2) oText.Style.FontSize = 0.1
How can I restore my object properties dialog box in its default state? I'm recently working on a project when my Autocad Architecture 2013 just stopped working while it was saving. When i re-opened the file, I just noticed that the object properties doesn't show the full parameters of a certain object anymore. The width,height and other parameters in adding a wall is not included in the properties dialog box. Same scenario goes for all the objects, when i click on a dimension line or any line, an incomplete dialog box appears. Solutions that i've tried but nothing worked:
1. Changed User Profle Preferences
2. Changed my .CUIX in the customization file
3. Restart Autocad
4. Reset Autocad
5. Reinstalled Autocad
6. Downloaded and Installed Autocad Architecture 2013 service packs 1&2
I'm Using Autocad Architecture 2013 64 bit and OS windows 8 64 bit.
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?
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.
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.