I'm looking to find the current rotation of my view in modelspace.
This isn't the ucs directionm but any arbitrary view i'm using.
For example using 3dorbit to rotate around an object.
I want to match some temp graphics to align flat to my view.
EDIT:
I see there is a VIEWDIR variable. so that may be what I need
Just a shot in the dark
GetSystemVariable("ucsxdir") maybe
~'J'~
ucsxdir gives me the angle of the ucs and not the angle of the view as I am currently looking at it.
Thank You for the effort. It's appreciated.
public Vector3d get_ViewDirection(); Declaring Type: Autodesk.AutoCAD.DatabaseServices.Viewport Assembly: Acdbmgd, Version=18.2.0.0
// Called Kerry in my other life.
Everything will work just as you expect it to, unless your expectations are incorrect.
class keyThumper<T> : Lazy<T>; another Swamper
Can you give a code sample on how to access it. I'm not finding any examples.
This may have some info
// Called Kerry in my other life.
Everything will work just as you expect it to, unless your expectations are incorrect.
class keyThumper<T> : Lazy<T>; another Swamper
I found the answer here
http://usa.autodesk.com/adsk/servlet/index?id=18162650&siteID=123112
in lesson 8
@dnicholsonZCTRT wrote:
Can you share a better link? I can't find a lesson 8.
Thanks.
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Can't find what you're looking for? Ask the community or share your knowledge.