Skip to main content
1-Visitor
July 6, 2015
Solved

Dimension and related drawing view

  • July 6, 2015
  • 1 reply
  • 1172 views

Hello

I have a drawing-file with one or more Views and want to receive dimensions together with the information to which (drawing) view they belong to.

I am using TK/OTK:

With ProDrawingViewsCollect(mdl, viewList) I can get all the views from my drawing.

With ProDrawingDimensionVisit()/ProDrawingSolidsVisit I can get all the dimensions from my drawing (but without the information to which view they belong to).

So I was trying

ProDimensionLocationGet(dimension[i], viewList[j], NULL, dimLocation); but I get the error:

PRO_TK_NOT_VALIDA drawing view was passed with a drawing.

does ViewsCollect deliever something else then a single view? Or what does this error mean?

And does somebody know if I am using the right solution or if there is a better way to receive my desired information?

regards


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by lgüthle

I think I solved it with "ProDrawingDimensionViewGet".

1 reply

lgüthle1-VisitorAuthorAnswer
1-Visitor
July 6, 2015

I think I solved it with "ProDrawingDimensionViewGet".