Skip to main content
7-Bedrock
July 16, 2024
Question

how to understand toolkit api ProDrawingViewOutlineGet

  • July 16, 2024
  • 1 reply
  • 1201 views

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 ?

1 reply

17-Peridot
July 16, 2024

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.

7-Bedrock
July 17, 2024

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

17-Peridot
July 17, 2024

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