Skip to main content
7-Bedrock
Jul 16, 2024 5:45 AM UTC
Question

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

17-Peridot
Jul 16, 2024 8:41 AM UTC

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.

Translate
7-Bedrock
Jul 17, 2024 3:21 AM UTC

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

Translate
17-Peridot
Jul 17, 2024 3:35 AM UTC

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

Translate