From: Factory Whistle on 27 Dec 2009 19:51 I have a question about $PRP commands. I use a $PRP:"SW-File Name" string to display the part file name in a drawing stock list. The particular result I achieve is a 13 digit string, something like this- 41044-011-004. The 004 part of this string is actually the detail number of the part. My question is; how can I write a $PRP command that masks the first 10 digits of the part number, displaying only the string 004, in another part of the drawing stocklist. I appreciate any suggestions.
From: manager on 28 Dec 2009 15:04 Factory Whistle wrote: > I have a question about $PRP commands. I use a $PRP:"SW-File Name" > string to display the part file name in a drawing stock list. The > particular result I achieve is a 13 digit string, something like this- > 41044-011-004. The 004 part of this string is actually the detail > number of the part. My question is; how can I write a $PRP command > that masks the first 10 digits of the part number, displaying only the > string 004, in another part of the drawing stocklist. I appreciate > any suggestions. Just work backwards. Have two PRP strings and concatenate them. $PRP-LONG NUMBER = 41044-011 $PRP-SHORT NUMBER = 004 If you want both then put $PRP-LONGSTRING+$PRP-SHORTSTRING in a note. TOP
|
Pages: 1 Prev: Merry Christmas !! Next: Statistics for comp.cad.solidworks, 28 Dec 2009 |