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

Custom File naming syntax (beginner!) help

Hi everyone, I am a beginner to ilogic and have thus far only copy and pasted code from others.  I'm trying to write my own code to perform the following function: I would like a default filename scheme for drawings as "partnumber"-"description".idw.  upon the first save.  Example 1234-1234-Bottom Bracket.idw

Here is what my code looks like, if anyone can provide guidance I would be much appreciated. 

 

"ThisDoc.FileName(False) 'without extension" = (iProperties.Value("Project", "Part Number"))(iProperties.Value("Project", "Description"))

I am very excited to be getting into this, I've wanted to branch out into ilogic for some time now but but time hasn't allowed it.  Many many thanks!!