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: 

Rounding up coordinates (API)

46 REPLIES 46
Reply
Message 1 of 47
Rafal.Gaweda
7794 Views, 46 Replies

Rounding up coordinates (API)

I am attaching small addin (private, not ADSK) for rounding up coordinates in Robot

You can add it to add-ins menu:

- as dll (the fastest method of getting results from robot) basing on dll_1.zip from this thread starting from point 13

http://forums.autodesk.com/t5/Autodesk-Robot-Structural/Creating-DLL-for-API-and-making-it-available...

- as exe

or by running exe

 

It seems to work OK.

 

 



Rafal Gaweda
46 REPLIES 46
Message 2 of 47

Does this add-in applies to node coordinates only or contour panel points are also included in the rounding up?

Message 3 of 47

it will round up everything.

Rafael Medeiros
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 4 of 47
igos
in reply to: Rafal.Gaweda

Hello, Rafal

Thank you for the solution. Unfortunally, it doesn't work on my PC (not exe, nor dll). OS is Windows 7 x64, RSA 2013 SP1.

I have obtained this error (please, see file error.png)

Log of exe error in file LOG.txt

If you need any additional info, please, let me know. 

Thank you in advance!

 

_________________________________________

https://ru.linkedin.com/in/igor-saltykov-8a68b726
Message 5 of 47
Rafal.Gaweda
in reply to: igos

Igor,

I have obtained this error (please, see file error.png)

 

Try this:

Start Command Prompt as Admin (from rigth hand mouse menu) then unregister and register robot exe as decribed here:

 

http://forums.autodesk.com/t5/Autodesk-Robot-Structural/VBA-Excel-macro-for-any-object-geometry-modi... - message 8/9

 

 

 

 



Rafal Gaweda
Message 6 of 47
igos
in reply to: Rafal.Gaweda

Rafal, thanks a lot for your support!

_________________________________________

https://ru.linkedin.com/in/igor-saltykov-8a68b726
Message 7 of 47
tony.ridley
in reply to: igos

Rafal,

 

I have Robot 2012 and 2013 installed on my PC.  I installed your add in and it works OK on 2013, but when I try to use it on 2012 I get the following error......................

 

2.JPG

 

Is this because the add in is already "registered" to 2013?

 

Tony

Message 8 of 47
Rafal.Gaweda
in reply to: tony.ridley


Is this because the add in is already "registered" to 2013?

 

 

Can be. Please register v 2012

http://forums.autodesk.com/t5/Autodesk-Robot-Structural/VBA-Excel-macro-for-any-object-geometry-modi... - message 8

 

(command line must be run in Admin mode: message 6 http://forums.autodesk.com/t5/Autodesk-Robot-Structural/API-error/m-p/3518984/highlight/true#M5791)

 



Rafal Gaweda
Message 9 of 47
dc
Observer
in reply to: Rafal.Gaweda

I downloaded the roundingup.zip nad run add-ins in robot , it listed on add-ins, but clicked it do not run.

 

Mike

Message 10 of 47
Rafal.Gaweda
in reply to: dc

Example movie: http://screencast.com/t/CFsS8hljU9Ik

Sometimes click twice on Round Up button



Rafal Gaweda
Message 11 of 47

Hi dear RG_Adsk

Can we develop some one-click installer for Robot addons?

I already have similar solution for Revit Add-In Installer

Need to replace tld.bat with automatic dll registration from installer.

Message 12 of 47

Yes, you can 

Remember to register dll if you want to install dll

 

c:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /tlb /codebase roundup.dll



Rafal Gaweda
Message 13 of 47
Rafal.Gaweda
in reply to: Rafal.Gaweda

BTW: do you want it in your language version? If so - can you compile VS 2010 project?



Rafal Gaweda
Message 14 of 47

Yes, I know. I made my own tiny addon which create closest nodes between two uncrossing bars, very useful to link then by rigid links. I use you manual to prepare addon in Robot, thanks.

 

I already use you RoundUP, and I can translate it to russian (must be useful for some russian users).

 

I have one question for installer - how to find proper regasm in any computer?

For example

1) C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /tlb /codebase

1) F:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /tlb /codebase

 

Maybe some system variable?

Message 15 of 47

 

I already use you RoundUP, and I can translate it to russian (must be useful for some russian users).

 

OK, I will prepare and send you VS project to translate

 

I have one question for installer - how to find proper regasm in any computer?

For example

1) C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe /tlb /codebase

1) F:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /tlb /codebase

 

As far as I remember for 32 bit system you can use ordinary regsvr32 ; for 64 ...Framework64\...\RegAsm.exe

 



Rafal Gaweda
Message 16 of 47
Rafal.Gaweda
in reply to: Rafal.Gaweda

Now - rounding Up or Down in attached exe.



Rafal Gaweda
Message 17 of 47
t.sautierr
in reply to: Rafal.Gaweda

Great ! works perfectly with RSA 2013 !

Message 18 of 47
YarUnderoaker
in reply to: t.sautierr

No work. I get a message box with "Robot not started" with opened Robot and without.

Path to my Robot F:\Program Files\Autodesk\Autodesk Robot Structural Analysis Professional 2013\System\Exe\robot.EXE

Message 19 of 47
Message 20 of 47
Rafal.Gaweda
in reply to: Rafal.Gaweda

 

Example movie how to make translation http://screencast.com/t/KRpXFwaoRf8

(Replace strings in Value column)



Rafal Gaweda

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

Post to forums  

Autodesk Design & Make Report