• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MAXScript command to create PFlow_ABurn operator???
#1
I was trying to do this with the macro recorder, I got:

Code:
particleFlow.BeginEdit()

ev1 = Event()
ev1.setPViewLocation 84 22
op1 = PFlow-ABurn()
ev1.appendAction op1
op2 = DisplayParticles()
op2.color = ev1.wireColor
ev1.appendAction op2

particleFlow.EndEdit()

Something to be expected actually.
The problem is that when I try to run the same code in the listener I get an error:

-- Type error: Call needs function or class, got: undefined

What am I missing here?

Apparently PFlow_Aburn() is not enough to create the operator - there are some parameters required?
  Reply
#2
Anyone???
Oh common, does anyone know how to create a PFlow_ABurn operator using MaxScript??
  Reply
#3
You have a typo Smile
it should be op1 = PFlow_ABurn()
  Reply
#4
Oh wow, you're right!!!
It works now.

Still the macro recorder in the listener outputs PFlow-ABurn() not PFlow_ABurn() Sad

Is that something you have to fix or Autodesk?
  Reply
#5
I'll check that.
Thanks for reporting.

Kresimir
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)