Message 1 of 2
Conversion of a simple Inventor VBA macro to Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anybody help?
I have the following Inventor VBA macro:
Quantity = "12"
PartDescription = "TEST PART DESCRIPTION"
OutputString = OutputString & Space(22 - Len(OutputString)) & Space(4 - Len(Quantity)) & Quantity
OutputString = OutputString & Space(28 - Len(OutputString)) & PartDescription
OutputString = OutputString & Space(188 - Len(OutputString)) & "P" & " " & "T"
Can anybody convert the script to Python?
Many thanks in advance!
Darren