Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello
Dimension sense and orientation is making us confuse. Can any1 showcase steps to create dimension between two edges of a drawing view. As of now, edges I will ask user to select from creo drawing view using Proselect API.
What precaution and values should be provided to create a dimension sense and orientation is my main area of focus. Additionally what should be value for dimension location point to be passed to API.
Working on Creo 4.0 M030 and having Protoolkit with us.
Any idea would be of great help.
Thanks and Regards
Ketan
Anyone able to create dimension between an edge and an axis? Edge dimensions is achieved and axis - edge dimension always throw PRO_TK_BAD_DIM_ATTACH for API ProDrawingDimCreate().
Do it the other way around, create one manually und use
extern ProError ProDrawingDimAttachpointsGet (
ProDrawing drawing,
ProDimension *dimension,
ProDimAttachment **attachments_arr,
ProDimSense **dsense_arr);
and the other function to evaluated a possible input.
I guess you reviewed the header files, Ordinate dimensions have other calls, so first convert one, next add, or add base first...
For the position you may try to configure it as it would be a standard one, and give the dimension location.
What I see, you will have fun, for the next couple of days:-)