cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

how to understand toolkit api ProDrawingViewOutlineGet

WK_9102875
6-Contributor

how to understand toolkit api ProDrawingViewOutlineGet

I am using Creo Parametric Release 11.0 and Datecode11.0.0.0

1. how to understand toolkit api ProDrawingViewOutlineGet ?
This API returns the result ProPoint3d outline [2], why can this result describe the outline of this view?

2.how to confirm notes inside drawing boundary ?

3 REPLIES 3

Hi @WK_9102875,
 
API ProDrawingViewOutlineGet() gets the outline of a drawing view in screen co-ordinates. It outputs the position of view in the drawing sheet.
And, for notes:
Get note's location and sheet size. Then, check whether note's location falls within drawing sheet size.

WK_9102875
6-Contributor
(To:rghadge)

Isn't the outline of a view represented by multiple coordinates? Why do two 3D coordinates represent the outline of this view?

API ProDrawingViewOutlineGet() gives co-ordinates of diagonal points of a drawing view. These points are enough to know the outline of drawing view.

Announcements


Top Tags