Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

command syntax in GRIP 4

Status
Not open for further replies.

yankw

Mechanical
Jul 16, 2003
4
Hi to all ,

1.
I have created a simple GRIP prodram, to create pins.
I have used SOLCYL for the two solid cylinder, but i couldn't find a way to unite them into a solid in the GRIP program.
Can anyone please enlighten me on how to unite them using GRIP.

2.
I have create in the prt file some expression, eg :p0=100,p2=35, etc.
Can GRIP change this expression?

Your help will be greatly appreciated.

Thank you.

 
Replies continue below

Recommended for you

Answers:
1: Not possible in GRIP
2: Not possible in GRIP

GRIP has not been enhanced for the parametric modeling paradigm that was introduced at V10.

The SOLxxx commands are left over from V7, when UG/Solids was introduced. There are no boolean functions in GRIP.

The only expressions taht GRIP can modify are the old calculator registers A-L. You can get GRIP to modify expressions, but the MUST be named A-L and you are limited to the 12.

We use a program to create hardware items using the ability of GRIP to modify the 12 A-L expressions. I think the most we actually use are 9 for shoulder bolts.


"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli
CAD/CAM System Analyst
Ingersoll-Rand
 
There are no boolean operations in grip. It does, however, have commands to edit expressions. In the grip help file look under "System control - Expressions". The help files don't list the A-L limitation, but Ben is usually right (I'd at least give it a shot though).

It sounds like what you really want is a user defined feature. At this point I would usually point you to the help files, but I've been playing around with them for a while and still have not been able to get it to do what I want. Maybe another member can enlighten us.
 
Yankw,
Maybe you should look into Knowledge Fusion instead. It can do those tasks that you are refering to.

-Derek
DL Engineering Services

specializing in CAD Design Consultation Services
 
I remember using a unite in a GRIP function for a program I wrote back about nine versions ago and it worked fine. It model a bent bar using cylinders and spheres. Now, I'd use the Tube
function but that was not around at time. Anyway, a quick look at GRIP Manual shows the Command UNITE/obj,WITH,objlist1 :Where obj is target object and objlist1 is a list of the tool objects.

I've not tried to access the expressions from a GRIP program but the manual shows a set of commands. It says the command to edit an expression is:
EXPEDT/exp_string_list[,IFERR,label:]

Best of luck with the program
Have Fun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor