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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

how to get section arrow location using toolkit

Ketan_Lalcheta
19-Tanzanite

how to get section arrow location using toolkit

Hi All

 

Is there any API introduced / already available to check location of section arrow in drawing? We just want to confirm whether any arrow is going outside of border or not. We have Creo 4.0 M130.

 

Attached image is for reference of arrow going outside of border.

2 REPLIES 2

This is not part of Creo Toolkit functionalities. It is documented with article CS217909
File an enhancement request if required.

FV
17-Peridot
17-Peridot
(To:Ketan_Lalcheta)


@Ketan_Lalcheta wrote:

Hi All

 

Is there any API introduced / already available to check location of section arrow in drawing? We just want to confirm whether any arrow is going outside of border or not. We have Creo 4.0 M130.

 

Attached image is for reference of arrow going outside of border.


Hello all,

 

  • from Pro/Toolkit get a view outline.
  • output a drawing sheet to a DXF.
  • extract section lines, arrows, text data from DXF. Lines will have the same LTYPE and LAYER and geometry will match parallel | parallel | perpendicular pattern with the end point of the first line 'double' equal to the start point of the next line and so on... Arrows will also have end points matching 'short' line end points.
  • calculate an enclosing box, get the center point.
  • check calculated center point with view outline - IN/OUT
  • delete DXF file.

 

HIH.

FV.

Announcements


Top Tags