Autodesk Robot Structural Analysis
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I have a macro to export a model from cad to Robot using API.
I would like to know what is the criteria that Robot uses to round the dimensions of elements that came from cad.
I have this doubt because I've noticed that all the dimensions in cad have more decimal places than the dimensions in Robot.
Any help will be appreciated.
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
you know you can change the number of decimal places under preferences?
or, just open the dwg from within Robot
tony
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Additional remark related to DXF or DWG import:
When model is imported from DXF or DWG in metric units the coordinates are rounded off to 4 decimals. It results in higher precision when importing in millimeters than when importing in meters.
Best regards,

Pawel Pulak
Support Specialist
Product Support
Autodesk, Inc.
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Maybe I was not clear: I'm using Robot API.
For example:
If I have a line in cad, my macro reads the coordinates of the end points and creates two nodes in Robot with the same coordinates. Then a bar is created using these two nodes as startnode and endnode.
My problem is that the coordinates that are read in cad have more decimal places than the coordinates that are written in Robot.
I need to know how Robot rounds the coordinates that receives using API.
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Take a look below:

Rafal Gaweda
Product Support
Autodesk, Inc.
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I obtain a different result.
Do you know why?
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Rafal,
Meanwhile, I've made some tests.
I have exported from excel to robot different nodes with different coordinates and I'm getting different results.
It's still a mistery (for me) what's the criteria that Robot uses to round the coordinates.
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
LuisMeanwhile, I've made some tests.I have exported from excel to robot different nodes with different coordinates and I'm getting different results.
It's still a mistery (for me) what's the criteria that Robot uses to round the coordinates.
It seems robot reads up to 9 digits after comma (in meters) in API.
I had 10 digits yesterday but I do not know how it happend. Today always 9.

Rafal Gaweda
Product Support
Autodesk, Inc.
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I'm using Robot 32 bit with Windows XP 32 bit and Windows 7 32 bit.
I don't know if this is important, but the code that I've made for exporting from cad to Robot is used by some users.
Some of them uses Windows 7 64 bit.
Re: Dimension precision when exporting to Robot using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
It seems robot reads up to 9 digits after comma (in meters) in API.
I had 10 digits yesterday but I do not know how it happend. Today always 9.

Rafal Gaweda
Product Support
Autodesk, Inc.



