cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get dimension display value in Creo drawing?

Level 9

How to get dimension display value in Creo drawing?

Hi,

We want to get the drawing display dimension value, as shown in below snap.

 

Capture.PNG

So please can i know how we can get this values.

 

Regards,

Prashant

3 REPLIES 3

Re: How to get dimension display value in Creo drawing?

Can you explain what you are aiming?

 

I am not able to understand your query...

Re: How to get dimension display value in Creo drawing?

extern ProError ProDrawingDimensionVisit(

   ProDrawing               drawing,

   ProType                  type,

   ProDimensionVisitAction  action,

   ProDimensionFilterAction filter,

   ProAppData               data );

/*

    Purpose:

Visits all dimensions stored in the specified drawing,

i.e. all dimensions whose default names start with

"dd", "rdd" or "add", therefore all dimensions created in

the drawing when the config.pro option "create_drawing_dims_only"

was set to YES.

 

    Input Arguments:

drawing -  Handle of the drawing whose dimensions are to

  be visited.

type -  PRO_DIMENSION or PRO_REF_DIMENSION 

action -  the function that gets called for each drawing

  dimension being visited.

filter -  the function that gets called for each drawing

  dimension. This function decides whether the

  dimension should be visited or skipped. If NULL,

                           all dimensions are visited using the action function.

data -  caller-specified data that gets passed to the

  action and filter functions.

 

    Output Arguments:

None

Re: How to get dimension display value in Creo drawing?

Thanks.