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.

Register Log in

about pro/program

bosss

New member
Ihave a feature (lets say feature with id23 like the example) in my model tree that I want it to beadded when I import more than one value in the question that I have expressed


In the begining of the notepad text I have written the following


INPUT
SLOT1 NUMBER
"height"
END INPUT


RELATIONS
END RELATIONS





if slot1=20=21=22
!*** ERR: line contains a bad symbol or is otherwise invalid


ADD FEATURE (initial number 23)
INTERNAL FEATURE ID 6809
PARENTS = 1(#1) 39(#5) 497(#11) 3950(#18) 4818(#20) 6698(#21)



PROTRUSION: Extrude


NO. ELEMENT NAME INFO&n bsp;&n bsp;&n bsp;&n bsp;
--- ------------- -------------&nbsp ;&nbsp ;&nbsp ;
1 Feature Name Defined&nbsp ;&nbsp ;&nbsp ;&nbsp ;
2 Extrude Feat type Solid& nbsp;& nbsp;& nbsp;& nbsp;
3 Material&nbs p; Add&nb sp;&nb sp;&nb sp;&nb sp;
4 Section&nbsp ; Defined&nbsp ;&nbsp ;&nbsp ;&nbsp ;
4.1 Setup Plane Defined&nbsp ;&nbsp ;&nbsp ;&nbsp ;
4.1.1 Sketching Plane Surf:F5(PROTRUSION)&nbsp ;&nbsp ;&nbsp ;
4.1.2 View Direction Side 1&nbsp ;&nbsp ;&nbsp ;&nbsp ;
4.1.3 Orientation Top&nb sp;&nb sp;&nb sp;&nb sp;
4.1.4 Reference&nb sp; Surf:F5(PROTRUSION)&nbsp ;&nbsp ;&nbsp ;
4.2 Sketch Defined&nbsp ;&nbsp ;&nbsp ;&nbsp ;
5 Feature Form Solid& nbsp;& nbsp;& nbsp;& nbsp;
6 Direction&nb sp; Side 1&nbsp ;&nbsp ;&nbsp ;&nbsp ;
7 Depth& nbsp; Defined&nbsp ;&nbsp ;&nbsp ;&nbsp ;
7.1 Side One&nb sp; Defined&nbsp ;&nbsp ;&nbsp ;&nbsp ;
7.1.1 Side One Depth None&n bsp;&n bsp;&n bsp;&n bsp;
7.2 Side Two&nb sp; Defined&nbsp ;&nbsp ;&nbsp ;&nbsp ;
7.2.1 Side Two Depth To Reference&nb sp;
7.2.2 Reference&nb sp; Surf:F21(CUT)&nbsp ;&nbsp ;&nbsp ;


SECTION NAME = S2D0021



FEATURE'S DIMENSIONS:
d245 = 1
d246 = 5
d247 = 1
d248 = 135
END ADD
end if





Also If I express it like


if 19<slot1<24


it is still a mistake
 

Sponsor

Top