Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

software development

chandra4

New member
Hi Guys


I am chandra. i developed part in toolkit . Now i am in drawing mode i got views


and linear dimensions in that view. But i donot know how to convert these linear dimensions to "Ordinate dimensions" or Directly how to create ordinate dimensions


Directly. Please help me.


Thanks in advance.
 
I am pretty sure that is a dimension property. -- Depends on the version you are using. The users manual should have some guidlines on that.


Dave
 
Thanks a lot for reply! Dave


Here is


I using W.F2.0 Protoolkit. I got Views and dimensions (linear dimensions).But i need Ordinate dimensions by using Protoolkit W.F2.0.So please elaborate.......





chandra
 
For some reason that does not ring a bell with regards to Pro/TOOLKIT as a capability - maybe someone else has a suggestion on this. I know you can do it manually for sure, possibly with a mapkey, but I am not sure if there is a call for this type of dimension conversion.


Dave
 
You definitely need to learn how to use the API Wizard. Look up the function ProDrawingDimToOrdinate().
 
Hello, Williams


I read some of your replies i got great confident on you.


i am sending a few lines of code if don't mind my tolal code


please give your email


ProError status;
ProSelection *sel, csys_sel;
ProSolid solid;
ProGeomitem csys_geom;
ProMatrix trf_view,trf_view_inv;
ProVector csys_pos, csys_3dpos;

ProGeomitem *points;
ProDrawing drawing;
ProSelection *attachments;
ProDimSense *senses;
ProPoint point;


for(p=0;p<n_points;p++)
{

ProSelectionAlloc(NULL, &points

, &attachments[0]);
ProSelectionViewSet(view, &attachments[0]);
ProSelectionCopy(csys_sel, &attachments[1]);





dim_pos[0] = outline[0][0] - 20.0;
dim_pos[1] = (csys_pos[0] + pnt_pos[1]) / 2.0;
dim_pos[2] = 0.0;



status = ProDrawingDimCreate(drawing, attachments, senses, dim_pos,
PRO_B_FALSE, &dimension);


status = ProDimensionShow(&dimension, view, drawing, NULL);


err = ProWindowActivate(drw_w_id);



if(p==0)



status = ProDrawingOrdbaselineCreate(drawing, &dimension,csys_3dpos, &vbase_dim);

else

status = ProDrawingDimToOrdinate(drawing, &dimension, &vbase_dim);


}


return(0);


}
 
Hi, Friends


I am wondering if anyone knows Creating a Balloon or notefor the dimension in drawing mode. After creation i want move the dimension then along the dimension i want move balloon also.Please help me in


this matter.


I using Protoolkit wildfire 2.0.


Thanks in advance


chandra
 

Sponsor

Articles From 3DCAD World

Back
Top