AutoCAD Inventor :: Model Parameter Text In Custom Symbol
Jun 27, 2012
Just installed 2013 Pro x64 and I'm doing a little testing. Using Tube and Pipe, I created a few mock pipe runs which are named according to a unique line number. When clicking on the Iproperties of any of these pipe runs, I can see that the value of model parameter "Part Number" now includes the name of the top level assembly and the line number, which is the name I assigned to the pipe run when I created it (see Fig 1 attached). Then in IDW I created a user defined symbol which contains text that I have directed to extract value of "part number" from the model properties, and fill in my symbol with that value (see Fig 2). The problem is, when I tag the pipe run with my custom symbol, the value in the symbol remains blank, instead of giving me the value of "part number". WHAT am I missing??
View 3 Replies
ADVERTISEMENT
Sep 29, 2011
How would i insert the "variable name" of a custom iProp to a sketched symbol definition (in an idw)?
I can plonk the value of the iProp in no worries, but to make it "live" is a bit beyond me...
Sub WeldNote()On Error Resume NextDim oDoc As DrawingDocumentDim SketchedSym As SketchedSymbolDefinitionDim oNoteDef As SketchedSymbolDefinitionDim oDefSketch As SketchDim oTextbox As TextBoxDim SNewText As StringDim sNoteText As StringDim oReffedDoc As DocumentDim lReffedWeldType As Long'Err.ClearIf
[Code].....
View 9 Replies
View Related
Jul 18, 2013
What I would like to do is create a custom dialogue for each of 3 or 4 standard sketch symbols we use on a regular basis. I'd like to load 'suggsted' values out of an excel spreadsheet and allow the user to pick from them or enter in a custom text string if required. The values would then become part of the sketch symbol.
I've spent some time looking into iLogic rules and I think I've determined that they're not flexible enough to do what I want.
If I'm correct, it is possible (or a good idea) to do this using a VBA macro? I'm a little hesitant to go down the full blown add-in route. While I'm pretty confident I could work it out.
View 3 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
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
Jan 31, 2013
I've got a custom VBA function that works perfectly when called from a parameter in my part.
However, when in the context of my assembly, there is no error, but the function no longer runs, and the parameter text is red.
Apparently, the function is no longer in context?
I've heard of external rules, but have never implemented one.
Is there a way to declare my function and keep it in context regardless?
Public Function BumpHeight(dblHeight As Double, dblMember As Double) As Double Dim X As Integer X = 2 If dblHeight > dblMember * 2 Then BumpHeight = dblHeight Else BumpHeight = dblMember * X End If BumpHeight = BumpHeight / 2.54 End Function
Here is the Parameter:
VBA:BumpHeight(ValanceBackBumpoutHeight;ValanceMemberSize) * 1 in
Update: (problem better defined)
What seems to be happening is that once I insert the part into an assembly, it creates a new blank copy of the parts' modules in VBA and the functions no longer work.
If I go to the VBA editor,
There are now two copies of my part listed in the browser tree, but the new one is blank.
If I paste in my function to the new one, it will work until I return to the parent assembly.
Next time I come back to the part, it will have a new blank set of modules.
This appears to continue indefinitely...
see the attached screenshot.
At this point there are only 2 copies of the DocumentProject. The original still contains my functions, but the new one is blank.
I need these functions to work in order to build my model.
View 1 Replies
View Related
Nov 11, 2011
Is there a way to change the model parameter tolerances thru the API? I haven't seen this issue in the discussions. I've found the parameter.tolerance property, but it looks like it only returns the tolerance, Is there a way to set the tolerance?
View 1 Replies
View Related
Apr 12, 2013
I wish I perform the following code with iLogic. Is it possible to change a model parameter to a reference parameter?
If My_Expression Then' My dimension "d0" is a Driven Dimension' or' My dimension "d0" is a Reference ParameterElse' My dimension "d0" is NOT a Driven Dimension' or' My dimension "d0" is a Model ParameterEnd If
View 9 Replies
View Related
Oct 26, 2011
I've got a user who is seeing this lock symbol on some Content Center parts in his model tree. I've never seen it before and what is causing it. This results in a lot of errors when he tries to check in any files where this shows up. I can open the same assembly on my machine and the lock does not show up, and I can check the files in with no trouble.
View 1 Replies
View Related
Jun 17, 2013
is it possible to create a custom symbol for my balloon?
View 2 Replies
View Related
Nov 30, 2011
I am trying to create a sketched symbol on the fly that has custom properties in it. I am also creating the custom properties on the fly. I need to get the actual expression for the property into the sketched symbol not just a value. I need this so that I can export the drawing as an autocad .dwg that has attributes in it.
View 3 Replies
View Related
Dec 10, 2013
Is there anyway to create a custom weld symbol in inventor? As of right now I am using a sketched symbol from autocad, but i would very much like to get away from this.
I need a bevel weld back gouged then ground flush on the back side. Cant do that as of right now with the inventor.
View 3 Replies
View Related
Dec 13, 2011
I have a school project due tomorrow and I am almost completely finished. Except one part says that "Model adjusts correctly as __ varies". When I change a parameter, only that parameter changes and the rest of the part remains the same. I'll attach the assigment. I'll attach my work also if requested.
View 9 Replies
View Related
Feb 10, 2012
I would like to use a multi-list parameter in a form, that isn't a problem. However I want the selection to be copied to a custom parameter when the form closes. Is there anyway to fire a rule when the form closes or to add a multi-select list to a parameter, in a form?
View 2 Replies
View Related
May 14, 2012
An application that will let me choose a group of Drawing files (.idw) and perform "Save Copy As" to a PDF format on them. The Filename of each Drawing should be extracted from a custom Parameter I embeded in the IDW file.
I know I can use the Task Manager with a virtual PDF Printer to create these files, but then the PDF Filename will equal the IDW Filename, and I want it to be derived from the custom parameter I prepared inside the drawings.
View 2 Replies
View Related
Mar 21, 2013
Where do I find the "Allow custom values" option for a multi list parameter expression?
View 2 Replies
View Related
Sep 10, 2013
when i create an ipart with an custom parameter column, the files are created in the workspace. Is there any way how i can change this location?
Many parts are piling up in the workspace.For example to the library (like "normal iparts" do) or to a folder in the workspace (workspace/ custom_ ipart_ folder)?
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
Sep 3, 2013
When I place a custom ipart (a simple one in this case) the length in my table changes
Inventor Professional 2014.
Windows 7 64 bit.
View 2 Replies
View Related
Feb 21, 2012
In a simple case I have an extrusion with some attached seals/weather stripping, all implemented as iParts having their own LENGTH parameters.
RailPart.ipt, Seal_A.ipt, Seal_B.ipt
The goal is to encapsulate these IParts within an iAssembly: RailAssy.iam, where a LENGTH parameter can be input when the iAssembly is placed, causing RailPart and Seal_A to have their length parameters set to the LENGTH provided at that time and SEAL_B having Length set by an iLogic rule to LENGTH - 5.
I've been unable to set up a Custom Parameter Column in an iAssembly table. Is this even permitted?
Inventor Premium 2012 SP1
View 5 Replies
View Related
Aug 11, 2010
Is there anyway to derive a text parameter? It's nice that 2011 gives you the ability to create text parameters but why don't they allow you to derive it to another part? What about deriving iProperties?
Using Inventor 2013
View 6 Replies
View Related
Nov 29, 2012
I have a model in imperial units with the parameter: Pin_Dia = 7mm.Now I'd like to use this parameter in a text field on a drawing, but its value will only display in inches.
(I don't know if it's called a field in Inventor, at least that's what the equivalent feature is called in AutoCAD.)I managed to fake it by creating a new parameter in inches: Pin_Dia_Metric = Pin_Dia * ( 1 ul / 1 mm ).
Now this shows up in the text dialog box as "7.0 ul." It still displays correctly, since the text field only shows the numerical value, but I really don't want to clutter up my Parameters list with a bunch of duplicated values for metric conversions.
Is there a way to change the units for just this one text field?-Using Autodesk Inventor Professional 2012
View 2 Replies
View Related
Mar 28, 2013
I have been diving into the world of iParts, iLogic and iLogic Forms and have found them to be very useful! However, I am shocked to see that Text Height is NOT a parameter. The parts I am creating have embossed text. The size of parts range significantly so the size in text must also change. In making a Form, I would like the Text height to change based on the part being created. (ie if the part thickness is 1.5", I would like the text height to be 1" (Text Height = 66% of Part Thickness). I was about to create a simple iLogic rule to accomplish this when I noticed that Text Height (from the sketch) is nowhere to be found.
View 4 Replies
View Related
Jun 10, 2011
Parameters with a text value, How do I add userParameter? In iLogic
Examples. DoubleValue)
Sub Main()
Dim oCompDef As PartComponentDefinition
oComDef = ThisApplication.ActiveDocument.ComponentDefinition
Dim oParams As Parameters
oParams = oComDef.Parameters
Dim uParams As UserParameters
uParams = oParams.UserParameters
strVal= uParams.AddByExpression!("strVal", 0.15, "mm")
iLogicVb.UpdateWhenDone = True
End Sub
View 6 Replies
View Related
Oct 21, 2013
Within the drawing title block we have a 'Text' of type 'Custom Properties - Model' which pulls in a custom iprop from a model which is the models finished weight. This is a common way of auto populating title box entries.
The problem is that the sheet populates the text with the info related to the first viewport placed upon the drawing.
Whilst fine when planned for properly, I quite often encounter upon large multisheet detail drawings, that a user when detailing an IAM, will have forgotten to put the IAM view down first, especially later in the drawing series where the IAM is not required and the user is detailing IPT's.
What I am looking for is a way to change which viewport the border properties are related to ideally, so that if a user has forgotten to place the IAM but has placed 20 IPT's down, I could place an IAM outside of the maximum area, as the 21st object but fool Inventor into thinking this was the first viewport placed down, thus populating the border info correctly.
I don't know of a way to do this currently, either with current Inventor functionality, or by programmatic approach - our current fix is to have the user create another drawing sheet, place the IAM outside the maximum area, copy all his IPT viewports across from the first sheet, then delete the first sheet. Is it possible to change the object order of placed viewports with less disruption?
View 8 Replies
View Related
May 25, 2012
My ultimate goal is to have a virtual human model that I can re-size parametrically to reflect real-world measurements. I've used MAX to make architectural models and scenes so I know how to manipulate basic shapes in MAX.
how to make some sort of basic-custom geometric shape and control that shape parametrically, like the built-in "Box", "Sphere" and "Cylinder" objects.
View 1 Replies
View Related
Nov 26, 2012
Is there any way in which the text of a text parameter, which is in the equation column, can be replicated into the nominal value column in the parameters table? I want to reference the value of the parameter in Custom iProperties but it always comes up as blank because it has no value.
I need it to update automatically, e.g not entering the value manually.
View 1 Replies
View Related
May 2, 2013
Is there a way to export a text user parameter?
View 8 Replies
View Related
Nov 19, 2012
I'm using Inventor 2011 and when I go to change parameters using iLogic in an assembly model, (sometimes it is a component suppression, other times it is an iPart component change) it won't update the associated drawing file. I need to go into the BOM on the drawing and renumber the balloons, or change something else in order for the custom iProperties to update in the drawing template. If I just change the iPart component, then the BOM doesn't need to update making the renumbering of balloons redundant.
I'm using iLogic to update all of the iProperties and component references, then reattach balloons. What I would like to do is automatically update the custom iProperties drawing template fields, and renumber the drawing BOM.
View 2 Replies
View Related
Aug 17, 2011
I am trying to make an iPart of a fitting where I can change the "Body type" and it will change all the parameters associated with that body type through iLogic. Really I am just playing around in iLogic to see if this is something worth learning. Back to the point, I would like to change a multi-value user text parameter through the iPart table but I cannot find the paramter in the parameters tab.
Since it is a user parameter I thought it would be in the "Other" folder but it isn't. I do however have the other multi-value user number parameter in that folder, which makes me think that maybe I can't use the paramter in the iParts table?
INV 2012 SP1
Windows 7 64 Bit
ATI FirePro V5800
14.0 GB RAM
View 9 Replies
View Related
Dec 4, 2011
In an Inventor Drawing (.idw), dimensions are formatted (i.e., as decimal or fractional) based on the style selected for the dimension annotation. You can also force stacked-fraction formatting of specific numeric text within a text box.
However, text boxes don't seem to offer much control over retreived parameters. When you insert a value from the parameter table into your text box or leader text, the retrieved parameter always gets pulled in as a decimal number regardless of how it was formatted in the part's parameters table.
Are there any formatting functions that can be used within a text box or leader text to force fractional formatting for a retrieved parameter embedded within that text?
View 6 Replies
View Related