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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Family Table problem wrong dimension is shown

KSHITISH_S
13-Aquamarine

Family Table problem wrong dimension is shown

I have a generic model with hole feature and has some instances. In one of the instance the feature is set to NO while others have set to Yes. The distance from edge to the centre of hole is added as feature in generic and is part of the family table. Now for the instance where the hole is not there the dimension is displayed from the generic model.. If the dimension for the particular instance is not available then it should be set to dash or left blank . How to solve the issue?

 

ACCEPTED SOLUTION

Accepted Solutions


@KSHITISH_S wrote:

I have attached the drawing and part


Hi,

I modified prt+drw in Creo 7.0.5.0.

 

prt

1.] I added parameters DD, HOLE_EXISTS

2.] I modified FT

MartinHanak_0-1689851035388.png

3.] I modified relations

MartinHanak_1-1689851103230.png

4.] I verified FT and saved the model

 

drw

1.] I modified repeat region filters

MartinHanak_2-1689851237399.png

2.] resulting drawing table

MartinHanak_3-1689851301385.png

 

I uploaded modified files.

 


Martin Hanák

View solution in original post

13 REPLIES 13

Hi,

please publish some pictures showing the problem. Also pack your model into zip file and upload this zip file.


Martin Hanák

Hello @MartinHanak , I have added the screen shots

Hi,

please upload your model.

 

Note related to Family Table-image1.JPG

DISTANCE:FID_315 is measurement. The value is driven by geometry. Remove this column from family table. Family table usually contain variable items, only.

MartinHanak_0-1689319792897.png

 


Martin Hanák

I don't think you can set a dimensional value to be a non-numeric.

If I were going to do something like this, I'd probably take this approach:

(1) Define a parameter as a YES/NO (boolean) such as featActive

(2) Add featActive to the family table.

(3) Set featActive to the same setting as your feature activation.

(4) Define a parameter to represent the dimension value, such as dimValue.

(5) Use a relation to set the dimValue, based on the setting of featActive.

 

For example:

IF featActive
  dimValue = [Dimension rendered as text]
ELSE
  dimValue = "-"
ENDIF

Hopefully that is helpful. Converting a real number to text is something you can look for on here, it has been discussed many times.

If this isn't exactly what you're looking for, maybe explain in more detail what you are trying to do with this dimension. I am assuming, perhaps wrongly, that you want to put the value into a table on a drawing, or some such thing?

KSHITISH_S
13-Aquamarine
(To:KenFarley)

I want the drawing to have the L, W, A and D dimensions populated in the family table. The dimension D is for feature Hole_1 which is not in instance1 and instance 2. But in the Drawing for instance 1 and instance 2 also the dimension D is populated as 82. Person reading the drawing assumes some error in table in the drawing.  

BenLoosli
23-Emerald II
(To:KSHITISH_S)

Which version/release of Creo are you using as that can make a difference.

KSHITISH_S
13-Aquamarine
(To:BenLoosli)

I use Creo 7

KSHITISH_S
13-Aquamarine
(To:BenLoosli)

I want the drawing to have the L, W, A and D dimensions populated in the family table. The dimension D is for feature Hole_1 which is not in instance1 and instance 2. But in the Drawing for instance 1 and instance 2 also the dimension D is populated as 82. Person reading the drawing assumes some error in table in the drawing.  


@KSHITISH_S wrote:

I want the drawing to have the L, W, A and D dimensions populated in the family table. The dimension D is for feature Hole_1 which is not in instance1 and instance 2. But in the Drawing for instance 1 and instance 2 also the dimension D is populated as 82. Person reading the drawing assumes some error in table in the drawing.  


Hi,

please pack prt+drw into zip file and upload this zip file. This enable us to investigate them.


Martin Hanák

I have attached the drawing and part


@KSHITISH_S wrote:

I have attached the drawing and part


Hi,

I modified prt+drw in Creo 7.0.5.0.

 

prt

1.] I added parameters DD, HOLE_EXISTS

2.] I modified FT

MartinHanak_0-1689851035388.png

3.] I modified relations

MartinHanak_1-1689851103230.png

4.] I verified FT and saved the model

 

drw

1.] I modified repeat region filters

MartinHanak_2-1689851237399.png

2.] resulting drawing table

MartinHanak_3-1689851301385.png

 

I uploaded modified files.

 


Martin Hanák

Hello @MartinHanak , Thanks for the solution. Its a work around but can work for me.

Thanks 

Hello

 

You can just leave the dimension as *, so it would take the dimension from the generic as shown.

pushkarkhanna_0-1689354866395.png

 

Regards

Pushkar Khanna

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags