Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Loading RSA application by Api

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
faisal.aaouatif
370 Views, 5 Replies

Loading RSA application by Api

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 

5 REPLIES 5
Message 2 of 6

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
Message 3 of 6

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

Message 4 of 6

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
Message 5 of 6
Rafal.Gaweda
in reply to: Rafal.Gaweda

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



Rafal Gaweda
Message 6 of 6

It works perfectly.

Thank you very much

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report