PDA

View Full Version : Useful COFFEE nicknacks


Per-Anders
01-23-2005, 12:50 AM
Just thought i'd start a thread where people can share their useful little bits and bobs of COFFEE

And to start off here's a little one that simply makes sure the object it's on isn't selectable.

main(doc,op)
{ if (op->GetBit(BIT_AOBJ)) { // Is the object selected op->DelBit(BIT_AOBJ); //deselect it
GeEventAdd(REDRAW_ALL); //update the view
}
}

use the COFFEE tags own Enable checkbox to turn on/off the behaviour.

JoelOtron
01-29-2005, 05:22 AM
I'm watching this thread mdme sadie :)
Unfortunately nothing to contribute--but I sure hope it keeps going.

gavinb
02-20-2005, 08:54 AM
i was hoping this thread would be a little more popular

CGTalk Moderation
02-20-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.