Skip to main content
Solved

How to determine if a drawing is rotated in cad model space?

  • June 5, 2015
  • 1 reply
  • 34 views

Hello Everyone:

 

I have created a workspace that takes a cad (.dwg) file and after translation produces an xml file. As part of the input cad file validation I am doing cad file structure check, which involves checking if the input file could be read then I check for if the cad file is in model space and then as a final check I check to determine if the drawing in cad model space is in 2D plane or if it is rotated (randomly) in the model space. (Please note, I want to check if the drawing itself is rotated in cad model space and NOT if individual features or individual layers are rotated or not in one plane). I have checks for input file readability and model space working. But I have not been able to get the check for drawing rotation (or orientation) in model space to work. I have tried using several transformers (e.g. affiner, 3DAffiner, 3dBoundingBoxReplacer, CentrePointReplacer, PlanarityFilter, etc.) to check for the drawing rotation property, but so far no luck in getting the results.

 

Any help/suggestion is greatly appreciated. 

 

Thank you!

 

 

Best answer by pratap

It is just a trick, Check the angle of the text in title block
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

pratap
Contributor
Forum|alt.badge.img+11
  • Contributor
  • Best Answer
  • June 10, 2015
It is just a trick, Check the angle of the text in title block

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings