Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Object: ViewPoint

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info

The ViewPoint object provides access to the point from which a projection onto a 3D model is viewed in DIAdem VIEW.

The following example changes the perspective from which the 3D model is viewed in DIAdem VIEW:

View.ActiveSheet.ActiveArea.DisplayObjType = "3DModel"
Dim oMyObj: Set oMyObj = View.ActiveSheet.ActiveArea.DisplayObj
oMyObj.FileName = "Dummy.wrl"
oMyObj.ViewPoint.Rotationx = 24
oMyObj.ViewPoint.RotationY = 0
oMyObj.ViewPoint.Rotationz = 210

Returned From

Model3D.ViewPoint


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit