Skip to main content
1-Visitor
August 31, 2020
Question

Zone details for Note using toolkit

  • August 31, 2020
  • 1 reply
  • 1612 views

Hi All

 

I am trying to identify zone location for note ProDrawingPosToLocgrid. For this purpose, note location is input. Location I got from API ProDtlnoteLineEnvelopeGet. As it is in screen coordinate, I tried to use ProDrawingSheetTrfGet and ProPntTrfEval. But everytime, ProDrawingPosToLocgrid is saying Row as A and Col as 1 and it is not changing position. Any thought would be of great help.

1 reply

14-Alexandrite
August 31, 2020

According to the documentation ProDtlnoteLineEnvelopeGet output is in screen coordinates. In the same time ProDrawingPosToLocgrid input is also in screen coordinates. It seems to me that the calls to  ProDrawingSheetTrfGet and ProPntTrfEval are not required.

1-Visitor
August 31, 2020

Yeah I had tried without transformation and it was not successful. That is the reason I moved to transformation and could not get success,,,,,! Am I missing something?

 

P.S. : Zone details I am getting properly for Dimension Location without any error without transformation. Any problem for location get by envelop for note?

17-Peridot
September 3, 2020

ProDtlnoteLineEnvelopeGet return

  ProVector envel[4]

 this is array with 4 ProVectors.

Maybe you paste not single vector but whole array? I think, you know about this, but.....


Show a piece of your code to see a whole picture.