×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Zoom Factor Details

Zoom Factor Details

Zoom Factor Details

(OP)
Hi,

Would you elaborate on ZoomFactor of a viewer.
like On what basis it get's calculated blabla...

Regards,
Maddy

RE: Zoom Factor Details

Hi Maddy02,

I am not sure I understood your question... Would you care to elaborate?


CATIA v5 — user & trainer
ANSYS — user (beginner)

RE: Zoom Factor Details

(OP)
Hi,

Thanks for your reply,
I was working on zooming in and out through macro.

When we go through the automation documentation (CATIA.ActiveWindow.ActiveViewer.Viewpoint2d.Zoom)
This is what we will get.
Zoom( ) As double
Returns or sets the zoom factor associated with the viewpoint.
Example:
This example retrieves in ZoomFactor the zoom factor associated with the NiceViewpoint viewpoint, tests if it is less than 1, and if so, sets it to one and applies it to the viewpoint.
ZoomFactor = NiceViewpoint.Zoom
If ZoomFactor < 1 Then
ZoomFactor = 1
NiceViewpoint.Zoom(ZoomFactor)
End If

I would like somebody to put his point of on this about what is this zoomfactor and how this gets computed.
For ex: putorigin method makes the object to come in middle of screen but the zooming ratio will be as done by the user.

Regards,
Maddy

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources