Author Topic: DRX "transparent" command  (Read 1859 times)

0 Members and 1 Guest are viewing this topic.

iumike

  • Guest
DRX "transparent" command
« on: July 28, 2009, 08:31:56 AM »
Hello!

I intend to create a command which tries to move a circle to follow a poly-line in the background (a simple animation based on a "for" cycle), but in the same time to not stop (exit command) at pan/zoom and real-time sphere (orbit 3D) in Bricscad.
Is that thing possible in Bricscad DRX?

Any idea?
Mike

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 7045
  • AKA Daniel
Re: DRX "transparent" command
« Reply #1 on: July 28, 2009, 09:15:08 AM »
not sure if you tried this but OdEdCommandStack::addCommand is overloaded to except commandFlags (I.e. kTransparent)

Code: [Select]
OdEdCommandStack::addCommand(
   const OdString& sGroupName,
   const OdString& sGlobalName,
   const OdString& sLocalName,
   OdUInt32 commandFlags,
   OdEdCommandFunction *pFunction,
   OdRxModule *pModule = 0)

iumike

  • Guest
Re: DRX "transparent" command
« Reply #2 on: July 28, 2009, 09:18:26 AM »
Thank you Daniel for your response!

I have never use transparent commands. Can you give me a starting point for this problem?
Mike