Alan Lowbands
Aerospace
- May 17, 2017
- 274
Hi guys,
I have found this line of code that will remove the instance number from the part number.
strNewNumber = Split(CATIA.ActiveDocument.Name,".")(0)
Can anyone tell me if you can use this to edit the part number itself.
eg remove the first 2 numbers and the last 2 numbers? (123456789.1 to 34567.1)
I can't find anything that explains how to do this using this command
any help would be really appreciated.
thanks
Alan
I have found this line of code that will remove the instance number from the part number.
strNewNumber = Split(CATIA.ActiveDocument.Name,".")(0)
Can anyone tell me if you can use this to edit the part number itself.
eg remove the first 2 numbers and the last 2 numbers? (123456789.1 to 34567.1)
I can't find anything that explains how to do this using this command
any help would be really appreciated.
thanks
Alan