Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
LukeDavenport
in reply to: BRLMCHKD

Hi,

Could you just use one of the ModelDocumentName or ModelDocumentName (view) snippets of code, to get the actual current filename that has changed after the copy design operation, then us the same parameter function you're currently using after that?

Luke

 

SyntaxEditor Code Snippet

modelName = IO.Path.GetFileName(ActiveSheet.View("VIEW1").ModelDocument.FullFileName)
dwgParam = Parameter(modelName, "InjectNozRootDia")