Loading RSA application by Api

Loading RSA application by Api

faisal.aaouatif
Collaborator Collaborator
628 Views
5 Replies
Message 1 of 6

Loading RSA application by Api

faisal.aaouatif
Collaborator
Collaborator

Good Morning / Evening ;

Is there a way to force RSA to load in a given version ( lets say 2013 ) by using API rather than another one (2011 ) when they are installed in the same machine ?

Thank you 

0 Likes
Accepted solutions (1)
629 Views
5 Replies
Replies (5)
Message 2 of 6

Rafal.Gaweda
Autodesk Support
Autodesk Support
Dim x As Variant
    Dim Path As String
    Dim V As String

    Path = "C:\Program Files\Autodesk\Autodesk Robot Structural Analysis Professional 2013\System\Exe\robot.EXE"
    V = "/RegServer"

    x = Shell(Path + " " + V, vbNormalFocus)

 Example (registering v2013) attached.



Rafal Gaweda
0 Likes
Message 3 of 6

faisal.aaouatif
Collaborator
Collaborator

Good Morning / Evening

Even if a project under RSA 2013 is loaded , the "command" set app = new Robotapplication doesn't connect my VBA programm with RSA.

Instead of that it looks to load RSA 2011 ?!

Ive already registred the 2013 as per component registration attached.

Thank you for help

0 Likes
Message 4 of 6

Rafal.Gaweda
Autodesk Support
Autodesk Support

Search forum

 

you need to unregister 2011 while being in command propmpt opened in Admin mode, then unregister 2013 from it then from this command prompt register 2013



Rafal Gaweda
0 Likes
Message 5 of 6

Rafal.Gaweda
Autodesk Support
Autodesk Support
Accepted solution

or try in code unregister 2013, unregister 2011 (/UnRegServer) then register 2013



Rafal Gaweda
0 Likes
Message 6 of 6

faisal.aaouatif
Collaborator
Collaborator

It works perfectly.

Thank you very much

0 Likes