AutoCAD Inventor :: IProperty Text In IPT (emboss Stock Number)
Apr 21, 2010
I would really like to put some text in the part that links to the iproperties so I can emboss the stock number on the parts. It never fails that you create a new part, then forget to change the text. This would save a ton of time and re-plots.
Inventor 2010
View 9 Replies
ADVERTISEMENT
Oct 26, 2012
I had wanted to find a way to engrave/emboss the part number on a part model and have it be parametrically tied to the part number iProperty. Since it doesn't appear that I can create a text box and insert the iProperty directly, here's what I did to work around this. (I setup my part templates to have this out of the box....)
1. Within, the IPT file, add a user text parameter called "PartNo" and set its initial value to any text value.
2. Create your sketch for your text to be engraved. Insert the User parameter you just created.
3. Create the engraving/embossing for your text.
4. Create the following iLogic rule:
' Requires a User Text Parameter called "PartNo" prior to running' Set the appropriate event trigger to tasteIf Parameter("PartNo") <> iProperties.Value("Project", "Part Number") ThenParameter("PartNo") = iProperties.Value("Project", "Part Number")InventorVb.DocumentUpdate()End If
5. I set this rule to fire using the "iProperty Change" event trigger. So if the iProperty is set or changed, your text will update. Obviously, you can set this to run with whatever trigger you like.
Inventor 2014 64-bit SP1
Win 7 Pro 64-bit SP1
View 2 Replies
View Related
Jun 21, 2013
Is there any way to get the BOM to merge using something other than the Part Number. It seems as though it is the only option for merging the rows. I would like to use the stock number as the key.
View 6 Replies
View Related
Jun 11, 2012
In the I properties project tab I would like to change the "Stock Number" name to "A.R.M.-PN:". I need to reference 2 part numbers in my IPT I properties. This will then show up on the Parts List as a column which I can add. Or I would like to add a new dialog box to the "Project Tab". Is there a easy way to do this in 2011 Inventor Professional?
View 5 Replies
View Related
May 9, 2013
I'm trying to come up with a way to automate the filling of the stock number field in the iproperties for different sheet metal rules. Currenlty I have linked the name of the rule to the description field using the =<Sheet Metal Rule>. So using that varible is out.
A quick solution was to make custom materials for all of the stock numbers and then link that to the sheet metal rule using the material box. This will work except I need to show material name on the parts list.
If only each sheet metal rule had its on iproperties, this would be so easy.
Can this be done with Ilogic?
Forgot to add Inventor pro 2013
View 4 Replies
View Related
Sep 24, 2013
I am trying to turn on the stock number field under customizable fields within vault, however stock number is not an option...has this always been the case?
View 1 Replies
View Related
Dec 14, 2012
When I publish from Inventor to DWF (including sheets in the idw and an view of the iam assembly file) numerous part properties are included in the dwf that I would like to strip out so we don't share too much info with.
For example, filenames are included, stock numbers the complete bom from the model (as opposed to the parts lists that are shown in the idw's... This info shows in the structured bill, and if you click on a part in the iam.
How do I filter all this out so I only show part numbers and descriptions in iproperties?
View 4 Replies
View Related
May 3, 2011
I created an iPart which includes 10 or more different part. I need put the part number (text) on the surface (could use emboss or extrude). When I change the part, I need the embossed or extruded part number can be changed automatically.
View 4 Replies
View Related
Aug 7, 2012
I'm looking to see if there is a way to link the revision number to a custom iProperty in the same part. Our laser requires a specific output for programming, but I only want this to show up on actual lasered parts as we don't need it on parts that are sawcut. Basically what I would like to do is create a custom iProperty that I can link to the title block for that reads RV:<Revision>. Is there a way to do this? I'd rather not create a separate drawing template for lasered parts as we've got about 100 templates for our various customers the way it is.
View 6 Replies
View Related
Jul 21, 2013
I amrying to create embedding of a text entered through dialog box. The sketch regenerates fine but the Emboss doesn't. Cannot figure it out, tried a lot of different approaches...the text has to be configured this way - need to control it's height.
View 2 Replies
View Related
Aug 29, 2006
way to get multiple lines of text in an iProperty? I am using a custom iProperty named "Title" so users can insert the drawing title into the title block using the custom iProperty. The only problem is that the title comes out all on one line and goes outside the title block. Should I be using iproperties or is there a better way?
View 2 Replies
View Related
Sep 6, 2013
I am engraving a company logo on to the outside of a round tube with a custom font. There are two boxes of text that I am engraving. The first box works just fine with the "Emboss" tool. The second line works fine when the "% Stretch" parameter in the text edit window is left at 100%. When I change the "% Stretch" to 85%, I get the "Self-intersecting loop found in this profile" error message. I get this error message when I try stretching it to 115% as well. I changed the font to a standard font and I was able to emboss the text no matter the "% Stretch" value.
The bottom line is Inventor will not emboss text that has a custom font and a modified stretch percentage. This line of text must be stretched to match the company logo.
View 2 Replies
View Related
Feb 14, 2012
In the parent assembly a text iproperty exists called "child list". I would like to set this value via an ilogic rule that does the following:
For each child in the assembly where paremeter "include" = true, add the value of iproperty "filename" to a comma delimited list that will become the value of text Iproperty "child list" in the parent assembly.
The result should look something Like iproperty"child" = "filename1,filename2,filename3,filename4, etc..."
The rule must iterrogate all children, both parts and assemblies, and must go beyond 1st level children.
The output does not have to be comma delimited but must be delimited with something (eg tab, :, etc..)
The number of children is unknown
Is there a character limit imposed on a text iproperty?
View 6 Replies
View Related
Oct 1, 2013
Im linking a prompted entry in a sketch symbol to a selection from the user in an array. The code works perfectly.
The array displays the number of sheets there are in the document, the user selects the correct one & the sheet number is displayed in the prompted entry. I need to add "SHT" before the number though in the code but I cant get it to work.
I dont want to add a text line into the symbol saying "sht"
Dim oApp As Application: oApp = ThisApplication
Dim oDoc As DrawingDocument: oDoc = oApp.ActiveDocument
Dim oSheet As Sheet: oSheet = oDoc.ActiveSheet
'This uses a sketch symbol with the name "'View On' View Label"
Dim oSymDef As SketchedSymbolDefinition: oSymDef = oDoc.SketchedSymbolDefinitions.Item("'View On' View Label")
'This is the selected view
Dim oView As DrawingView: oView = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kDrawingViewFilter,"Select View To Place Symbol:")
'This takes the label items of the selected view
'And adds it To an array that will link To the prompted entry
Dim sPromptStrings(2) As String
sPromptStrings(0) = oView.Name
sPromptStrings(1) = oView.ScaleString
oDoc = ThisApplication.ActiveDocument
Dim sSheet As Sheet
'create sheet number list
Dim oSheetList As New ArrayList
i = 0
s = "-"
For Each sSheet In oDoc.Sheets
i = i +1
oSheetList.add(i)
Next
oSheetList.add(s)
'get user input
mySheet = (InputListBox("View taken form sheet number.", oSheetList, oSheetList(0), "Sheet Number Ref.", "Sheet Numbers"))
sPromptStrings(2) = mySheet
'This is the position for the sketched symbol under the selected view'
Dim oPosition As Point2d: oPosition = oView.Center
oPosition.y = oPosition.y - (oView.Height / 2 + 2.5)
'This inserts the sketched symbol and fills in the prompted entry.
Dim oSymbol As SketchedSymbol: oSymbol = oSheet.SketchedSymbols.Add(oSymDef, oPosition, , ,sPromptStrings)
View 2 Replies
View Related
Dec 20, 2011
I have a custom iProperty with a text value of "Plate, Steel 140 mm". Is it possible to strip out the 140 (text) from the string and convert it to a number?
View 7 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
Apr 24, 2013
Is it possible to associate leader text with a particular page number.
For instance, I want to write, "see page 6"
But if I add a page before 6 then I have to remember to update the note. Is there a way to live link this in the leader?
View 4 Replies
View Related
Jul 14, 2012
I'm using ilogic to automatically build standardized descriptions that are linked to a field in our PDM system for future searches. The problem is that the variable "Length" (shown below) can sometimes be a whole number so it drops the trailing zeros and I want it to always be a two decimal value.
Formula:
iProperties.Value("Custom", "2ND_SUBTITLE")=CStr(ID)+" ID x "+CStr(OD)+" OD "+CStr(Round(Length, 2))+" LG"
Computed String Value
2.701 ID x 3.253 OD x 8 LG
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 2, 2011
I am using ilogic in Inventor 2011 to update my iproperties when I save a .dwg file. I am having problems with some custom iProperties I have created that are of the type 'number' and are initially set to 0 (zero). After the iLogic rule has run and the user has entered a numeric value the type of the custom iproperty has changed to 'text'.
The ilogic code I am using is:
If iProperties.Value("Custom", "Nominal ID") = 0 Then
iProperties.Value("Custom", "Nominal ID") = InputBox("Enter The Nominal ID (Enter 0 if no value is available)", "Nominal ID", 0)
Custom_iProp_Nom_ID = iProperties.Value("Custom", "Nominal ID")
End If
I am using Vault 2011 and would like to map this property to a numeric property so I can perform <= and >= searches.
View 2 Replies
View Related
Jun 18, 2012
I can't get Inventor 2013 show a custom iproperty correct.My iLogic rule is this:
iProperties.Value("Custom", "myvol")=volume = iProperties.Volume
But the custom iProperty is a Yes or No.Had no problem with this in Inventor 2011.
View 2 Replies
View Related
Aug 16, 2013
I have 2 separate sketches which will be used to EMBOSS on the curved surface.I can get them to work except i want 1 sketch to be Green when Embossed on the surface in color and the other sketch to be red in color when Embossed with the back ground Black.I can only get it to work as 1 color.I tried with Split command but still no luck.After both sketches EMBOSSED to the surface i can only get 1 color for both EMBOSS
View 1 Replies
View Related
Sep 20, 2012
Is there a way I can use the emboss feature in an assembly? We typically laser mark during final assembly and would like to show that as a step in the assembly instructions.
I typically create a sketch with the text and extrude(cut) in the assembly. It works fine for flat surfaces, but cannot do it for other surfaces.
The one way I can think of doing it would be creating ipart with text and using it in the assembly. I would rather not do it this way. Is there any other way to accomplish this with out altering the components (.ipt)?
View 7 Replies
View Related
Nov 18, 2009
I have a drawing of a sheet metal part with multiple sheets. I have named each sheet to reflect the nature of the views (general dimensions, detail views, flat pattern, etc.). I want the name of the sheet to appear in the title block, but I cannot seem to find the "Sheet Name" property anywhere. Can it be added to the list of the drawing or sheet properties, or is there another way to achieve this?. I do not want to have to use Custom Properties, and manually re-enter the names of each sheet.
View 8 Replies
View Related
Sep 13, 2011
How to export the drawing scale to a custom property, I can use in my title block? I would prefer that it updates when you save.
I use Inventor 2012 64bit.
View 6 Replies
View Related
Aug 10, 2012
I am trying to write a small standalone app in C# that I can run when I have an assembly document open. I want the app to iterate through all the parts in the assembly and set the iproperties. I am having some trouble accessing the iproperties however.
I want (for example) to set the "TITLE" in the "DOCUMENT SUMMARY INFORMATION" to be a concatenation of the part number and the description separated by a " - ".how to access these properties.
View 1 Replies
View Related
Jan 3, 2012
I would like to add a Custom iProperty to the BOM using API.
It would mimic the "Add custom iProperty columns" dialog.
View 5 Replies
View Related
Oct 30, 2013
I'm looking for a way to convert the iproperty value "volume" into length from known values in the part. I have an assembly which consists of 20 different typs of sheets which are rolled out in certain patterns. The width and depth of the sheet are known, and I would like to use the volume to find the length. The assembly is linked to an excel file so the values will change based on certain parameters. I'm using this as a check to make sure there is no error from the spreadsheet.
View 7 Replies
View Related
Dec 22, 2012
I wonder why my ipt iproperty is not transfer to the idw iproperty. Is there something I need to enable for the iproperty?
View 1 Replies
View Related
Jan 11, 2012
In a part, I create a sketch, add annotation Type in the file name. Then create an Emboss feature using this sketch.
How can I add the file name property to the text. I want the the emboss to update to new file name if I rename the file.
View 3 Replies
View Related
Sep 18, 2011
How to emboss scale on the cylinder? Please see the file attached. The arrow is the portion I want to created in my part file.
View 9 Replies
View Related