AnsweredAssumed Answered

API - CreateCenterLine on model within a drawing view

Question asked by Robert H. on Nov 15, 2018

Hi all



i want to attach a CreateCenterLine on two points within a drawing view on the model and not the within the drawing view space how can this be achieved ?


i ready have the points position, but if i CreateCenterLine function place them within the drawing view space instead of pinning to the model






the crux of the issue is that the drawing view, places these points from a 0 datum that is generated of bounding box of the object within the view and not the model origin point, and thus if the model is not central then the bounding box moves of the origin point thus making it impossible to place a line on the required point.


is there a way to draw a line using the model coordinate system and not the drawing view  0 datum 


Message was edited by: Robert H.