Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

syntax for programing in drawing

  • Thread starter Thread starter magi
  • Start date Start date
Status
Not open for further replies.
M

magi

Guest
i have a part programed in the manner either one of 2 holes in the part apper as per user input.

i need to do the program in drawing so that i can show only one dimension of hole which is viewed.



what is the syntax for if case



if syntax

set1

else

set2

endif



i need to know the syntax

plz help out

regards

mahendran
 
Hi, If u know that first have to create a view state, the second step is very easy: the if condition has to be ruled by a feature dimension, so for example you can write

if d:21>=5

set state state name

else

set state state name

endif



As you have a dimension that either could exist or not exist I think is better if the drawing program is rouled by a parameter, such as it could change between two values (use exist option in part relation) so u can use these two values for set the view states.

I hope it is useful for u; I you have some doubts write me at zalb76@yahoo.it



regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top