Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
tucker.smithAKU2X
317 Views, 4 Replies

user parameter not going to file name when using SaveAS

this code works to save my file as an stl, but the only thing i see in windows explorer is a file that is created as just .stl. i know i have values in my parameters, but i do not know why it won't pass it to actually create a file name. code is

'machineName = "PRESS"
'machineNumber = 103 ul
'workCenterNumber = 6310 ul

Dim machineName As String

Dim machineNumber As String  

Dim workCenterNumber As String

ThisDoc.Document.SaveAs(machineNumber & machineName & ".stl" , True)