×
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

isometric view

isometric view

isometric view

(OP)
Hello World!

I want to develop in macro that create an isometric view in a CATDrawing from a product!
help please!
regards

RE: isometric view

Hi

Try

CODE --> CATScript

' Create a view called "Isometrical View" in the sheet
    Dim oIsoView As DrawingView
    Set oIsoView = oSheet.Views.Add("Isometrical View")

    ' Retrieve it generative behavior
    Dim oIsoViewGB As DrawingViewGenerativeBehavior
    Set oIsoViewGB = oIsoView.GenerativeBehavior

    ' Declare the part to draw in this iso view
    oIsoViewGB.Document = oPartToDraw

    ' Define this view as a iso view, with the XY plane (in oPartToDraw) as projection plane 
    oIsoViewGB.DefineIsometricView  0.925456, -0.042455, 0.376469, 0.109966, 0.981023, -0.159692
    
    ' Position the View in the Sheet
    oIsoView.x = 300
    oIsoView.y = 400

    ' Update the view
    oIsoViewGB.Update 

Regards
Fernando

https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...

RE: isometric view

(OP)

Quote (fedro)

Define this view as a iso view, with the XY plane (in oPartToDraw) as projection plane

thanks a lot :)
the program runs! but i don't know why the TopView is inclined!
the fact that i work in a CATproduct, I want to change projection plane to another part's plane
but i don't know how!
is it possible?
regards

RE: isometric view

(OP)
meaning instead of using product plane projection i want to project views from another plane of a specific part!

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