// =========================================================================== // Copyright 2018 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies this software in either electronic or hard copy form. // =========================================================================== // // Procedure Name: // AEholdMatrixTemplate // // Description Name; // Creates the attribute editor controls for the holdMatrix node // // Input Value: // nodeName // // Output Value: // None // global proc AEholdMatrixTemplate ( string $nodeName ) { editorTemplate -beginScrollLayout; editorTemplate -beginLayout (uiRes("m_AEholdMatrixTemplate.kHoldMatrixAttributes")) -collapse 0; string $inMatrix = (uiRes("m_AEholdMatrixTemplate.kInMatrix")); string $outMatrix = (uiRes("m_AEholdMatrixTemplate.kOutMatrix")); editorTemplate -callCustom ( "AEinputNew \"" + $inMatrix + "\"" ) ( "AEinputReplace \"" + $inMatrix + "\"" ) "inMatrix"; editorTemplate -callCustom ( "AEinputNew \"" + $outMatrix + "\"" ) ( "AEinputReplace \"" + $outMatrix + "\"" ) "outMatrix"; editorTemplate -endLayout; // include/call base class/node attributes // AEdependNodeTemplate $nodeName; editorTemplate -addExtraControls; editorTemplate -endScrollLayout; }