Author Topic: Macro for IR?  (Read 2547 times)

2015-01-14, 10:55:16

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
Hello,
how is it possible to create a Macro for IR.
I would like to add IR as keyboard shortcut! It will be very useful! ;-)

Thanks

2015-01-14, 11:05:52
Reply #1

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Code: [Select]
macroScript StartInteractive
category: "Corona Renderer"
(
if classof renderers.current == CoronaRenderer do CoronaRenderer.startInteractive()
)

Here you go ;)
Any sufficiently advanced bug is indistinguishable from a feature.

2015-01-14, 11:12:27
Reply #2

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Deadclown: by any chance, do you know how to start docked interactive? I cannot find any way to switch viewports in the 3dsmax C++ SDK, but I could call maxscript code.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2015-01-14, 11:14:09
Reply #3

cecofuli

  • Active Users
  • **
  • Posts: 1578
    • View Profile
    • www.francescolegrenzi.com
thanks so much!!!
As I wrote some month ago, it will be very useful to create am "official Macro", with icon (Corona Toolbar?)

Create SUN, create Rectangular lights, Spherical etc... Export proxy, VFB, IR...


2015-01-14, 12:52:26
Reply #4

racoonart

  • Active Users
  • **
  • Posts: 1446
    • View Profile
    • racoon-artworks
Deadclown: by any chance, do you know how to start docked interactive? I cannot find any way to switch viewports in the 3dsmax C++ SDK, but I could call maxscript code.

The only method I found is using...
Code: [Select]
actionMan.executeAction 0 "40406" it sets the active view to CoronaInteractive

Not quite what I expected but it seems that there is no other way to load extended viewports
Any sufficiently advanced bug is indistinguishable from a feature.

2015-01-14, 14:08:51
Reply #5

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
ok, that is too cryptic to be production-proof. I will ask autodesk. So we may have this feature sometimes in 2017 :D
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)