Working with VSTA

Topics related to various APIs supported by ActCAD Software
Sriharan
Posts: 307
Joined: Wed Jun 21, 2017 6:53 am

Working with VSTA

Postby Sriharan » Tue Jun 27, 2017 6:03 am

How to load a VSTA project?

Sriharan
Posts: 307
Joined: Wed Jun 21, 2017 6:53 am

Re: Working with VSTA

Postby Sriharan » Tue Jun 27, 2017 6:05 am

Advanced experience level
1 Do one of the following:
• On the ribbon, choose Tools > VSTA Add-In Manager (in Applications).
• On the menu, choose Tools > Visual Studio Tools for Applications > VSTA Add-In Manager.
• Type vstaload and then press Enter.
2 Click Add.

3 Locate and select the VSTA application (.dll file) to load, then click Open.

Sriharan
Posts: 307
Joined: Wed Jun 21, 2017 6:53 am

Re: Working with VSTA

Postby Sriharan » Tue Jun 27, 2017 6:05 am

How to run a VSTA method?

Sriharan
Posts: 307
Joined: Wed Jun 21, 2017 6:53 am

Re: Working with VSTA

Postby Sriharan » Tue Jun 27, 2017 6:07 am

Advanced experience level
1 Type -vstarun and then press Enter.
2 Enter the name of the method to run, for example: C:\App.dll!MyMacro.

The macro name uses the following format:

<file_name>[!<macro_name>]

where:
<file_name> is the path to an external dll.
<macro_name> is the name of the dll method to run.


Return to “ActCAD API”

Who is online

Users browsing this forum: No registered users and 1 guest