Skip to main content

Hi all, in AA v11 while using Run Script command, we are able to pass parameters as WScript.Argumentss] in the VBScript. In A360 we weren’t able to find such a feature. Is it available, and if not, which is the best way to do it?

Dear @PanagiotisZ,

 

The Run Script command is not available in Autodesk 360. Autodesk 360 is a cloud-based platform, so it doesn't support the execution of scripts on the user's local machine. Instead, you can use the Autodesk Forge API to create custom applications that can be used with Autodesk 360. The Forge API supports a wide range of programming languages, including JavaScript and Python, which you can use to create custom applications that integrate with Autodesk 360.

 

Regards,


Hi @PanagiotisZ ,

 

Yes, it is possible. Please find below images for further details.

 

The script used here is to convert an .xls file to .xlsx. Here, I am passing the file path as a parameter to the script.

 

 

 

 

Hope this will help.


Hi all, in AA v11 while using Run Script command, we are able to pass parameters as WScript.Argumentss] in the VBScript. In A360 we weren’t able to find such a feature. Is it available, and if not, which is the best way to do it?

So, you need generate one variable contained all arguments that you need separeted by space

and, when you call the VBSCRIT pass this variable how input, in this case “iStr_Transaction”

 

 In you VBs code most has:

 


Padmakumar & Emerson.F2 thank you both for your replies! Both suggested solutions cover our need! Thanks!


Hi @PanagiotisZ ,

 

Yes, it is possible. Please find below images for further details.

 

The script used here is to convert an .xls file to .xlsx. Here, I am passing the file path as a parameter to the script.

 

 

 

 

Hope this will help.

Hi! sorry for question, but, how do you have a dark environment?


Reply