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.

Crash on geometry change. (Pro/Program)

the-rpd

New member
Hi,

I'm trying to make a parametric valve so I can use this whenever I need one.
Now it works fine but Pro/E crashes on some suppress action.

Het valve can have slots and can be flat or bended.
When the slots are suppressed programaticly and I try change the bend status from flat to bended or from bended to flat Pro/E crashes without any message.
When setting the suppresed state manually before changing the geometry Pro/E dous not chrash.

This is the part (the file is attatched at the end of this post):


If've used the following code in Pro/Program:

VERSION 3.0
REVNUM 3082
LISTING FOR PART KLEP_INGEKLEMD_V1_1

INPUT
BUITEN_DIAM NUMBER
"Buitendiameter van de klep:" /*Outside diam
GAT_DIAM NUMBER
"Binnendiameter van de klep:" /*Inside diam
DIKTE NUMBER
"Dikte van de klep:" /*thickness of the valve
DOORBUIGING NUMBER
"Doorbuiging van het niet ingeklemde deel van de klep:" /*Bend height
IF DOORBUIGING > 0
INKLEM_DIAM NUMBER
"Afsteundiamter tot waar de klep is ingeklemd:" /*Diameter where the bend starts.
END IF
AANT_BTN_SLEUVEN NUMBER
"Aantal sleuven op de buitendiamter ("0" kan ook):" /*Nr. of slots on outside diam.
IF AANT_BTN_SLEUVEN > 0
BTN_SLEUF_B NUMBER
"Breedte van de sleuven op de buitendiamter:" /*Witdth of the slots
BTN_SLEUF_L NUMBER
"Lengte van de sleuven op de buitendiamter:" /*Length of the slots
END IF
AANT_BIN_SLEUVEN NUMBER
"Aantal sleuven op de binnendiamter ("0" kan ook):" /*Nr. of slots on insidediam.
IF AANT_BIN_SLEUVEN > 0
BIN_SLEUF_B NUMBER
"Breedte van de sleuven op de binnendiamter:"
BIN_SLEUF_L NUMBER
"Lengte van de sleuven op de binnendiamter:"
END IF
END INPUT

RELATIONS
/* CRASH BEVEILIGING EN DE DAAR WAAR NODIGE REDESIGN
/* CHECK BINNEN DIAMETER T.O.V. NUL
IF GAT_DIAM <= 0
DIAM1=0.01
ELSE
DIAM1=GAT_DIAM
ENDIF
/* CHECK BUITEN DIAMETER T.O.V. BINNEN DIAMETER (Chek if all value's are acceptable)
IF BUITEN_DIAM <= DIAM1
/* MAAK DE BUITENDIAMETER ALTIJD 5% GROTER ALS DE BINNENDIAMETER
DIAM3=DIAM1*1.1
ENDIF
IF BUITEN_DIAM > (DIAM1*1.05)
DIAM3=BUITEN_DIAM
ELSE
/* MAAK DE BUITENDIAMETER ALTIJD 5% GROTER ALS DE BINNENDIAMETER
DIAM3=DIAM1*1.1
ENDIF
/* CHECK INKLEM DIAMETER T.O.V. BINNEN EN BUITEN DIAMETER
IF INKLEM_DIAM <= DIAM1
DIAM2=DIAM1*1.05
ELSE
IF INKLEM_DIAM >= DIAM3
DIAM2=DIAM3*0.95
ELSE
DIAM2=INKLEM_DIAM
ENDIF
ENDIF
/* CHECK DE DIKTE V.D. KLEP T.O.V. NUL
IF DIKTE< 0
X2=0
ELSE
/* CHEK DE DIKTE T.O.V. RINGDIAM
IF DIKTE > ((DIAM3-DIAM2)/2)*0.9999
X2=((DIAM3-DIAM2)/2)*0.9999
ELSE
X2=DIKTE
ENDIF
ENDIF
/* CHEK DE DOORBUIGING T.O.V. DE MAXIMUM DOORBUIGING
IF DOORBUIGING > ((X2/2)+((DIAM3-DIAM2)/4))*0.97
X1=((X2/2)+((DIAM3-DIAM2)/4))*0.97
ELSE
IF DOORBUIGING < 0
X1=0
ELSE
X1=DOORBUIGING+(X2/2)
ENDIF
ENDIF

/* UITWENDIGE SLEUFBREEDTE
IF BTN_SLEUF_B >= (DIAM3/4)
BTN_SL_B = DIAM3/4
ELSE
IF BTN_SLEUF_B <= 0
BTN_SL_B = 0.005
ELSE
BTN_SL_B = BTN_SLEUF_B
ENDIF
ENDIF
/* UITWENDIGE SLEUFLENGTE
IF BTN_SLEUF_L <= BTN_SL_B
BTN_SL_L = BTN_SL_B + 0.005
ELSE
IF BTN_SLEUF_L > ((DIAM3-DIAM2)/2)
BTN_SL_L = ((DIAM3-DIAM2)/2) - 0.005
ELSE
BTN_SL_L = BTN_SLEUF_L
ENDIF
ENDIF
/* AANTAL UITWENDIGE SLEUVEN
IF AANT_BTN_SLEUVEN <= 0
AANT_BTN_SL = 1
ELSE
AANT_BTN_SL = AANT_BTN_SLEUVEN
ENDIF

/* INWENDIGE SLEUFBREEDTE
IF BIN_SLEUF_B >= (DIAM1/2)
BIN_SL_B = DIAM1/4
ELSE
IF BIN_SLEUF_B <= 0
BIN_SL_B = 0.005
ELSE
BIN_SL_B = BIN_SLEUF_B
ENDIF
ENDIF
/* INTWENDIGE SLEUFLENGTE
IF BIN_SLEUF_L <= BIN_SL_B
BIN_SL_L = BIN_SL_B + 0.005
ELSE
IF BIN_SLEUF_L > ((DIAM3-DIAM1)/2)
BIN_SL_L = ((DIAM3-DIAM1)/2) - 0.005
ELSE
BIN_SL_L = BIN_SLEUF_L
ENDIF
ENDIF
/* AANTAL INTWENDIGE SLEUVEN
IF AANT_BIN_SLEUVEN <= 0
AANT_BIN_SL = 1
ELSE
AANT_BIN_SL = AANT_BIN_SLEUVEN
ENDIF


/*---------------------------------------------------------- -----------------\
/*---------------------------------------------------------- -
/* TOEKENNEN VAN WAARDES (Assign value's to deimensions)
/* KLEP
D25=DIAM1
D23=DIAM2
D22=(DIAM3-DIAM2)/2
D8=X2
D26=X2
D13=X1

/* UITWENDIGE SLEUVEN
/*IF AANT_BTN_SL > 0
D30=BTN_SL_B
D29=BTN_SL_L
D28=(DIAM3-DIAM1)/2 /*MAAKT DE EXTRUSIE ALTIJD GROOTGENOEG
P39=AANT_BTN_SL
/*ENDIF

/* INWENDIGE SLEUVEN
/*IF AANT_BIN_SL > 0
D33=BIN_SL_B
D35=(DIAM1*0.5)+BIN_SL_L
P44=AANT_BIN_SL
/*ENDIF
END RELATIONS


ADD FEATURE (initial number 1)
INTERNAL FEATURE ID 1


DATUM PLANE

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Constraints Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1 Constraint #1 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.1 Constr Type X Axis&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
3 Flip Datum Dir Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4 Fit&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Fit Type Default&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;

NAME = RIGHT

FEATURE IS IN LAYER(S) :
01___PRT_ALL_DTM_PLN - OPERATION = SHOWN
01___PRT_DEF_DTM_PLN - OPERATION = SHOWN

END ADD


ADD FEATURE (initial number 2)
INTERNAL FEATURE ID 3


DATUM PLANE

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Constraints Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1 Constraint #1 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.1 Constr Type Y Axis&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
3 Flip Datum Dir Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4 Fit&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Fit Type Default&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;

NAME = TOP

FEATURE IS IN LAYER(S) :
01___PRT_ALL_DTM_PLN - OPERATION = SHOWN
01___PRT_DEF_DTM_PLN - OPERATION = SHOWN

END ADD


ADD FEATURE (initial number 3)
INTERNAL FEATURE ID 5


DATUM PLANE

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Constraints Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1 Constraint #1 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.1 Constr Type Z Axis&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
3 Flip Datum Dir Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4 Fit&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Fit Type Default&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;

NAME = FRONT

FEATURE IS IN LAYER(S) :
01___PRT_ALL_DTM_PLN - OPERATION = SHOWN
01___PRT_DEF_DTM_PLN - OPERATION = SHOWN

END ADD


ADD FEATURE (initial number 4)
INTERNAL FEATURE ID 7
TYPE = COORDINATE SYSTEM
NAME = PRT_CSYS_DEF


FEATURE IS IN LAYER(S) :
05___PRT_ALL_DTM_CSYS - OPERATION = SHOWN
05___PRT_DEF_DTM_CSYS - OPERATION = SHOWN

END ADD


ADD FEATURE (initial number 5)
INTERNAL FEATURE ID 44
PARENTS = 1(#1) 3(#2) 5(#3)


SURFACE: Revolve

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Extrude Feat type Surface&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
3 Material&amp ;nbs p; Add&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;
4 Section&nbsp ; ; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Setup Plane Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.1 Sketching Plane FRONT:F3(DATUM PLANE)
4.1.2 View Direction Side 1&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.3 Orientation& amp; nbsp; Right& amp; nbsp;& amp; nbsp;& amp; nbsp;& amp; nbsp;
4.1.4 Reference&am p;nb sp; RIGHT:F1(DATUM PLANE)
4.2 Sketch Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5 Revolve Axis Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
6 Revolve Axis Option Internal Centerline&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
7 Direction&am p;nb sp; Side 2&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
8 Angle& amp; nbsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
8.1 Side One&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
8.1.1 Side One Angle None&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
8.2 Side Two&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
8.2.1 Side Two Angle Variable&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
8.2.2 Value& amp; nbsp; 360.00

SECTION NAME = S2D0011
OPEN SECTION

FEATURE IS IN LAYER(S) :
02___PRT_ALL_AXES - OPERATION = SHOWN

FEATURE'S DIMENSIONS:
d0 = 360
d6 = 1
d8 = 0.3
d9 = 0.3
d10 = 1
d13 = 1.15
d22 = 6 Dia
d23 = 8 Dia
d25 = 6 Dia
END ADD


ADD FEATURE (initial number 6)
INTERNAL FEATURE ID 410


GROUP HEAD

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Features Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
3 Construction Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;

NAME = LOCAL_GROUP
FEATURE BELONGS TO LOCAL GROUP LOCAL_GROUP



MEMBER OF A GROUP, NAME = LOCAL_GROUP
LEADING FEATURE OF THE GROUP: ID = 410
LAST FEATURE OF THE GROUP: ID = 242
END ADD


ADD FEATURE (initial number 7)
INTERNAL FEATURE ID 236
PARENTS = 5(#3) 44(#5)


DATUM PLANE

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Constraints Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1 Constraint #1 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.1 Constr Type Through&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.2 Constr References VERTEX of feat #5 (SURFACE)&am p;nb sp;&am p;nb sp;
2.2 Constraint #2 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.2.1 Constr Type Through&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.2.2 Constr References VERTEX of feat #5 (SURFACE)&am p;nb sp;&am p;nb sp;
2.3 Constraint #3 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.3.1 Constr Type Normal
2.3.2 Constr References Surface FRONT of feat #3 (DATUM PLANE)
3 Flip Datum Dir Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4 Fit&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Fit Type&a mp;n bsp; Default&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;

NAME = DTM1
FEATURE BELONGS TO LOCAL GROUP LOCAL_GROUP

FEATURE IS IN LAYER(S) :
01___PRT_ALL_DTM_PLN - OPERATION = SHOWN


MEMBER OF A GROUP, NAME = LOCAL_GROUP
LEADING FEATURE OF THE GROUP: ID = 410
LAST FEATURE OF THE GROUP: ID = 242
END ADD


ADD FEATURE (initial number 8)
INTERNAL FEATURE ID 238
PARENTS = 1(#1) 3(#2)


DATUM AXIS

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Constraints Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1 Constraint #1 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.1 Type&a mp;n bsp; Through&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.2 Reference TOP:F2(DATUM PLANE)
2.2 Constraint #2 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.2.1 Type&a mp;n bsp; Through&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.2.2 Reference RIGHT:F1(DATUM PLANE)
3 Fit&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
3.1 Fit Type Default&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;

NAME = A_4
FEATURE BELONGS TO LOCAL GROUP LOCAL_GROUP

FEATURE IS IN LAYER(S) :
02___PRT_ALL_AXES - OPERATION = SHOWN


MEMBER OF A GROUP, NAME = LOCAL_GROUP
LEADING FEATURE OF THE GROUP: ID = 410
LAST FEATURE OF THE GROUP: ID = 242
END ADD


ADD FEATURE (initial number 9)
INTERNAL FEATURE ID 242
PARENTS = 236(#7) 238(#8)


DATUM PLANE

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Constraints Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1 Constraint #1 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.1 Constr Type Through&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.1.2 Constr References AXIS A_4 of feat #8 (DATUM AXIS)& amp; nbsp;
2.2 Constraint #2 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2.2.1 Constr Type Normal
2.2.2 Constr References Surface DTM1 of feat #7 (DATUM PLANE)
3 Flip Datum Dir Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4 Fit&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Fit Type&a mp;n bsp; Default&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;

NAME = DTM2
FEATURE BELONGS TO LOCAL GROUP LOCAL_GROUP

FEATURE IS IN LAYER(S) :
01___PRT_ALL_DTM_PLN - OPERATION = SHOWN


MEMBER OF A GROUP, NAME = LOCAL_GROUP
LEADING FEATURE OF THE GROUP: ID = 410
LAST FEATURE OF THE GROUP: ID = 242
END ADD

IF AANT_BTN_SLEUVEN > 0

ADD FEATURE (initial number 10)
INTERNAL FEATURE ID 417
PARENTS = 44(#5)
TYPE = PATTERN

LEADER OF A (2 X 1) DIM GENERAL PATTERN


MAIN PATTERN DIMENSIONS:
d28 = 7
d29 = 1
d30 = 0.5
d36 = 90
d37 = 1.36
d38 = 360
END ADD


ADD FEATURE (initial number 11)
INTERNAL FEATURE ID 244
PARENTS = 5(#3) 44(#5) 238(#8) 236(#7)


SURFACE TRIM: Extrude

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Extrude Feat type Surface&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
3 Material&amp ;nbs p; Remove
4 Section&nbsp ; ; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Setup Plane Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.1 Sketching Plane DTM1:F7(DATUM PLANE)
4.1.2 View Direction Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.3 Orientation Bottom
4.1.4 Reference&am p;nb sp; FRONT:F3(DATUM PLANE)
4.2 Sketch Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5 Feature Form Solid& amp; nbsp;& amp; nbsp;& amp; nbsp;& amp; nbsp;
6 Material Side Side Two&am p;nb sp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
7 Trim Quilt Quilt:F5&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
8 Direction&am p;nb sp; Side 2&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9 Depth& amp; nbsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.1 Side One&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.1.1 Side One Depth None&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
9.2 Side Two&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.2.1 Side Two Depth Symmetric&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;
9.2.2 Value& amp; nbsp; 7.00&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;

SECTION NAME = S2D0001
MEMBER (1, 1) IN A (2 X 1) DIM GENERAL PATTERN


MAIN PATTERN DIMENSIONS:
d28 = 7
d29 = 1
d30 = 0.5
d36 = 90
d37 = 1.36
d38 = 360
END ADD


ADD FEATURE (initial number 12)
INTERNAL FEATURE ID 418
PARENTS = 5(#3) 44(#5) 238(#8) 244(#11) 236(#7)


SURFACE TRIM: Extrude

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Extrude Feat type Surface&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
3 Material&amp ;nbs p; Remove
4 Section&nbsp ; ; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Setup Plane Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.1 Sketching Plane DTM1:F7(DATUM PLANE)
4.1.2 View Direction Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.3 Orientation Bottom
4.1.4 Reference&am p;nb sp; FRONT:F3(DATUM PLANE)
4.2 Sketch Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5 Feature Form Solid& amp; nbsp;& amp; nbsp;& amp; nbsp;& amp; nbsp;
6 Material Side Side Two&am p;nb sp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
7 Trim Quilt Quilt:F5&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
8 Direction&am p;nb sp; Side 2&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9 Depth& amp; nbsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.1 Side One&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.1.1 Side One Depth None&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
9.2 Side Two&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.2.1 Side Two Depth Symmetric&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;
9.2.2 Value& amp; nbsp; 7.00&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;

SECTION NAME = S2D0001
MEMBER (2, 1) IN A (2 X 1) DIM GENERAL PATTERN


MAIN PATTERN DIMENSIONS:
d28 = 7
d29 = 1
d30 = 0.5
d36 = 90
d37 = 1.36
d38 = 360
END ADD
END IF

IF AANT_BIN_SLEUVEN > 0

ADD FEATURE (initial number 13)
INTERNAL FEATURE ID 736
PARENTS = 44(#5)
TYPE = PATTERN

LEADER OF A (2 X 1) DIM GENERAL PATTERN


MAIN PATTERN DIMENSIONS:
d33 = 0.5
d35 = 4
d41 = 90
d42 = 1.38
d43 = 360
END ADD


ADD FEATURE (initial number 14)
INTERNAL FEATURE ID 324
PARENTS = 1(#1) 5(#3) 44(#5) 3(#2)


SURFACE TRIM: Extrude

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Extrude Feat type Surface&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
3 Material&amp ;nbs p; Remove
4 Section&nbsp ; ; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Setup Plane Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.1 Sketching Plane TOP:F2(DATUM PLANE)
4.1.2 View Direction Side 1&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.3 Orientation Right& amp; nbsp;& amp; nbsp;& amp; nbsp;& amp; nbsp;
4.1.4 Reference&am p;nb sp; RIGHT:F1(DATUM PLANE)
4.2 Sketch Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5 Feature Form Solid& amp; nbsp;& amp; nbsp;& amp; nbsp;& amp; nbsp;
6 Material Side Side Two&am p;nb sp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
7 Trim Quilt Quilt:F5&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
8 Direction&am p;nb sp; Side 2&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9 Depth& amp; nbsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.1 Side One&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.1.1 Side One Depth None&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
9.2 Side Two&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.2.1 Side Two Depth Thru All&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;

SECTION NAME = S2D0001
MEMBER (1, 1) IN A (2 X 1) DIM GENERAL PATTERN


MAIN PATTERN DIMENSIONS:
d33 = 0.5
d35 = 4
d41 = 90
d42 = 1.38
d43 = 360
END ADD


ADD FEATURE (initial number 15)
INTERNAL FEATURE ID 737
PARENTS = 1(#1) 5(#3) 44(#5) 324(#14) 3(#2)


SURFACE TRIM: Extrude

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
2 Extrude Feat type Surface&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
3 Material&amp ;nbs p; Remove
4 Section&nbsp ; ; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1 Setup Plane Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.1 Sketching Plane TOP:F2(DATUM PLANE)
4.1.2 View Direction Side 1&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
4.1.3 Orientation Right& amp; nbsp;& amp; nbsp;& amp; nbsp;& amp; nbsp;
4.1.4 Reference&am p;nb sp; RIGHT:F1(DATUM PLANE)
4.2 Sketch Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5 Feature Form Solid& amp; nbsp;& amp; nbsp;& amp; nbsp;& amp; nbsp;
6 Material Side Side Two&am p;nb sp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
7 Trim Quilt Quilt:F5&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
8 Direction&am p;nb sp; Side 2&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9 Depth& amp; nbsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.1 Side One&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.1.1 Side One Depth None&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
9.2 Side Two&am p;nb sp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
9.2.1 Side Two Depth Thru All&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;

SECTION NAME = S2D0001
MEMBER (2, 1) IN A (2 X 1) DIM GENERAL PATTERN


MAIN PATTERN DIMENSIONS:
d33 = 0.5
d35 = 4
d41 = 90
d42 = 1.38
d43 = 360
END ADD
END IF


ADD FEATURE (initial number 16)
INTERNAL FEATURE ID 129
PARENTS = 44(#5)


PROTRUSION: Use Quilt, Thin

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Surface&nbsp ; ; Quilt:F5&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
2 Thicken type PROTRUSION&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
3 Material Side Both&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
4 Thickness&am p;nb sp; 0.30&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
5 Offset Type Normal to Surf&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
6 Special Handlings Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
7 Feature Name Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;



FEATURE'S DIMENSIONS:
d26 = 0.3 THICK
END ADD


ADD FEATURE (initial number 17)
INTERNAL FEATURE ID 182
PARENTS = 7(#4)


ANALYSIS

NO. ELEMENT NAME INFO&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
--- ------------- -------------&nbsp ; ;&nbsp ; ;&nbsp ; ;
1 Name&a mp;n bsp; AREA_VOLUME_MASS&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
2 Type&a mp;n bsp; Model Analysis&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
3 RegenRequest Always
4 Definition Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5 Result params Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.1 VOLUME Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.1.1 Create YES&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;
5.1.2 Param name VOLUME &nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.2 SURF_AREA Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.2.1 Create YES&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;
5.2.2 Param name SURF_AREA&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;
5.3 MASS&a mp;n bsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.3.1 Create YES&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;
5.3.2 Param name MASS&a mp;n bsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.4 INERTIA_1 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.4.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.4.2 Param name INERTIA_ 1&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.5 INERTIA_2 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.5.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.5.2 Param name INERTIA_ 2&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.6 INERTIA_3 Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.6.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.6.2 Param name INERTIA_3&am p;nb sp;&am p;nb sp;&am p;nb sp;&am p;nb sp;
5.7 XCOG&a mp;n bsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.7.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.7.2 Param name XCOG&a mp;n bsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.8 YCOG&a mp;n bsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.8.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.8.2 Param name YCOG&a mp;n bsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.9 ZCOG&a mp;n bsp; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.9.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.9.2 Param name ZCOG&a mp;n bsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.10 MP_IXX Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.10.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.10.2 Param name MP_IXX &nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.11 MP_IYY Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.11.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.11.2 Param name MP_IYY &nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.12 MP_IZZ Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.12.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.12.2 Param name MP_IZZ &nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.13 MP_IXY Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.13.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.13.2 Param name MP_IXY &nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.14 MP_IXZ Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.14.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.14.2 Param name MP_IXZ &nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.15 MP_IYZ Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.15.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.15.2 Param name MP_IYZ &nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5.16 ROT_ANGL_X Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.16.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.16.2 Param name ROT_ANGL_X&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
5.17 ROT_ANGL_Y Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.17.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.17.2 Param name ROT_ANGL_Y&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
5.18 ROT_ANGL_Z Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
5.18.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
5.18.2 Param name ROT_ANGL_Z&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;&a mp;n bsp;
6 Result datums Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
6.1 CSYS_COG Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
6.1.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
6.1.2 Datum name CSYS_COG&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
6.2 PNT_COG&nbsp ; ; Defined&nbsp ; ;&nbsp ; ;&nbsp ; ;&nbsp ; ;
6.2.1 Create NO&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;&amp ;nbs p;
6.2.2 Datum name PNT_COG&nbsp ; ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;&nbsp ;

NAME = AREA_VOLUME_MASS


Analysis class& amp; nbsp;& amp; nbsp; Analysis type&a mp;n bsp;
----------------&a mp;n bsp;&a mp;n bsp; ----------------------&a mp;n bsp;
Model Properties&a mp;n bsp;&a mp;n bsp; Mass Properties
END ADD

MASSPROP
END MASSPROP





2008-10-31_101646_klep_ingeklemd_v1_1.prt.zip
Edited by: the-rpd
 
Thanks for the response,

I've never realy looked in to Family Tables but I thougt it was not sutable for this application. I'll go and study some more on Family Tables.

If someone has any other solution, i'm all ears.
 
So,

I've made a Family Table.
The slots can be left away now, but when they are left away, I can't add them afterwards.
But thats probably the way Family Tables work.

How can I manage to turn the slots on and off whenever I want?


Edited by: the-rpd
 
One example of being able to do that. If you create the solid, then cut out the center hole. Now, starting the inside slots from inside the hole, and extending them into the solid. your family table, can set the length so it is short enough that it does not intersect. No cut will be preformed

3" diameter disk, with a 1" center hole. If you center the slots, and make it less then 1", it will be contained inside of the hole, creating nothing. If you increase the length to 1.5", now there will be a .25" slot on either side, and the cut will be preformed. This can also be applied to the outside slots. For this, I would also create a reference exceeding the outside of the disk. That way, you do not have to compute anything in your family table, and you always know <1" no cut, and >1" cut. (come to think about it, that's the way the inside can be done as well.

I would assume this is a product where you would like to have several basic designs. I don't know what all of your requirements would be, or I could be more help. Don't forget you can stack multiple family tables. Here is a good example that I pulled from the files section. It's an MSBX screw table. If you study this, I think you will find all of your answers inside.

edit: The link didn't work. so, If you click on "files" in the green box on the upper left corner, and then choose to search for MSBX where "file search" is on the right hand side just above the "fastners" and "fittings" are. you will find it.


Edited by: dewme5
 
First of all, thanks for the new input!

The purpose of the valve is development.
I'm planing to use this valve in multiple applications and in the design proces the valve sometimes needs to be flat, bended and with or without slots.
So I need the option to change the specs of the valve any time in the designing proces, not only the moment I add it to the assambly.

The solid cut out is what I did in the first place.
The problem is that I can not suppress the cutout's programmaticly couse pro will crash the moment I change the geometry. This appears to be the same with this sweep.
Also, the hole diameter can be null so there will be no hole al all. What you discribe probably would work on the outside diameter, going to try that.

So I don't want a few basic designs, I want one desing I can change any time I want to.
 
Well, a family table will allow you to create a large set of predefined shapes. If your center hole is only .5" or .75", and your outside diam is 3" - 5" in .25" steps. And all of your slots are the same, but there, or not. you wouldn't need a huge table. If however, you are creating one off's that are specific to a new project, there really isn't another way that I'm aware of to change it besides doing it manually.

However, you can stop the crashes by thinking ahead. Suppress the items that are not going to be used before rebuilding. If there are no outside slots, instead of making the dimensions 0, just suppress the whole feature, and make sure nothing is dependant on them being there.
 
dewme5 said:
Well, a family table will allow you to create a large set of predefined shapes. If your center hole is only .5" or .75", and your outside diam is 3" - 5" in .25" steps. And all of your slots are the same, but there, or not. you wouldn't need a huge table. If however, you are creating one off's that are specific to a new project, there really isn't another way that I'm aware of to change it besides doing it manually.

However, you can stop the crashes by thinking ahead. Suppress the items that are not going to be used before rebuilding. If there are no outside slots, instead of making the dimensions 0, just suppress the whole feature, and make sure nothing is dependant on them being there.

True,

I think I'm going to remove the Pro/Program code for suppressing the slots so ProE won't crash and do that manually from now on.

Thanks for the helpe!
 
write2bush said:
Hello The_rpd.


I am interested in learning Pro-Program,


From where can i get to learn the basics?

I found anything I needed here on the forum.
For the basics of programming you can do a Visual Basic (VBA) tutorial in word/excel so you can get the feeling of what you can doe with statements as If then else.

ProProgram has the same statements but they are written a little bit different.
You can find these statements (of languidge) on the forum or in the ProE help files.

For advanced ProProgram programming you can find a lot on this forum.
 

Sponsor

Articles From 3DCAD World

Back
Top