How do i get the dimensions of an object in the RoboDK environment?可打印版本 +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: How do i get the dimensions of an object in the RoboDK environment? (/Thread-How-do-i-get-the-dimensions-of-an-object-in-the-RoboDK-environment) |
How do i get the dimensions of an object in the RoboDK environment?-ssonawan-09-06-2022 I am trying to interface MATLAB and RoboDK, and I need to read the environment object dimensions and pose from RoboDK. While I was able to figure out how to read the pose of an Item in the env, I am not sure how to find out the dimensions of an obstacle in the environment (lets say a table). Is there a method in the Robolink API that does this? Please let me know. Apologies if the answer to this is very straightforward, I might have missed it. Thanks, Shubham RE: How do i get the dimensions of an object in the RoboDK environment?-Sam-09-07-2022 Hi Shubham, You can use Item.setParam('BoundingBox'). Note that the results are absolute. Sam |