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:
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?
Go to Solution.
I think I solved it with "ProDrawingDimensionViewGet".
View solution in original post