06-06-2016
03:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
06-06-2016
03:01 PM
Hi frank,
Try something like this:
'variables/values that would come from the model
Material = "Steel"
Thickness = .125
Width = 1.5
Length = 6.25
'convert values to fraction
oT = FormatAsFraction(Thickness)
oW = FormatAsFraction(Width)
oL = FormatAsFraction(Length)
'set description
iProperties.Value("Project", "Description") = _
oT & " " & Material & " x " & oW & " in. x " & oL & " in. Lg."
'display to user
MessageBox.Show("Description: " & vbLf & _
iProperties.Value("Project", "Description"), "iLogic")
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com