What is the difference between the View-Port Center and the Origin in case of a drafting view ?
What is the difference between the View-Port Center and the Origin in case of a drafting view ?
(OP)
Hi Everyone ,
Can someone explain me what is the difference between the View-Port Center and the Origin in case of a drafting view ?
Also how can we calculate the origin of a drafting view mathematicaly ?
Any help in this regard will be highly appreciated.
Regards,
Amitabh
Can someone explain me what is the difference between the View-Port Center and the Origin in case of a drafting view ?
Also how can we calculate the origin of a drafting view mathematicaly ?
Any help in this regard will be highly appreciated.
Regards,
Amitabh





RE: What is the difference between the View-Port Center and the Origin in case of a drafting view ?
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: What is the difference between the View-Port Center and the Origin in case of a drafting view ?
ViewPort center is used to position views while doing it using NXOpen.It refers to the exact center of the view rectangle.
Hope that clarifies the query.
What i am unable to judge is what is the view origin ? On plotting these points on the drawing sheet , the origin is always a little offset from the viewport center.
Can you apprise me how the origin of a view is determined ?
Regards,
Amitabh
RE: What is the difference between the View-Port Center and the Origin in case of a drafting view ?
CODE
Function GetViewCenter(ByVal aView As View) As Point3d Dim Loc As Point3d = aView.Origin Dim c() As Double = {-Loc.X, -Loc.Y, -Loc.Z} Dim vmx As Matrix3x3 = aView.Matrix Dim vw() As Double = {vmx.Xx, vmx.Xy, vmx.Xz, vmx.Yx, vmx.Yy, vmx.Yz, vmx.Zx, vmx.Zy, vmx.Zz} theUFSession.Mtx3.VecMultiplyT(c, vw, c) GetViewCenter = New Point3d(c(0), c(1), c(2)) End FunctionSuresh
www.technisites.com.au
RE: What is the difference between the View-Port Center and the Origin in case of a drafting view ?
All i need is the understanding for "How NX computes the View Origin"?