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

Try replacing this line:

If IsNothing (oTypes_Selected) Then Exit While

with this one:

If String.IsNullOrEmpty(oTypes_Selected) Then Exit While

or this one:

If oTypes_Selected = "" Then Exit While

 

Also, try replacing this line:

iProperties.Value("Custom", "NyfanRooting") = oText

 with this one:

iProperties.Value("Custom", "NyfanRooting") = iProperties.Value("Custom", "NyfanRooting") & ", " & oText

If that last line doesn't work, try getting the existing value of that iProperty to a variable first, then use that variable in stead of the second iProperties.Value() call in that line of code.  (I assume you want each selected text to follow the one before, with a comma between them, similar to what your image showed.)

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)