// =========================================================================== // 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: // AEwireTemplate // // Description Name; // Creates the attribute editor controls for the wire node // // Input Value: // nodeName // // Output Value: // None // global proc AEwireTemplate( string $nodeName ) { editorTemplate -beginScrollLayout; editorTemplate -beginLayout (uiRes("m_AEwireTemplate.kParameters")) -collapse false; editorTemplate -addControl "rotation"; editorTemplate -addControl "crossingEffect"; editorTemplate -addControl "localInfluence"; editorTemplate -addControl "tension"; editorTemplate -addControl "freezeGeometry"; editorTemplate -addControl "bindToOriginalGeometry"; editorTemplate -endLayout; editorTemplate -beginLayout (uiRes("m_AEwireTemplate.kScale")) ; editorTemplate -callCustom "AEwireAttrNew" "AEwireAttrReplace" "scale"; editorTemplate -endLayout; editorTemplate -beginLayout (uiRes("m_AEwireTemplate.kDropoffDistance")) ; editorTemplate -callCustom "AEwireAttrNew" "AEwireAttrReplace" "dropoffDistance"; editorTemplate -endLayout; editorTemplate -beginLayout (uiRes("m_AEwireTemplate.kLocators")) ; editorTemplate -callCustom "AEwireLocatorNew" "AEwireLocatorReplace" "locators"; editorTemplate -endLayout; //supressed attributes editorTemplate -suppress "wireLocatorPercentage"; editorTemplate -suppress "wireLocatorParameter"; editorTemplate -suppress "wireLocatorEnvelope"; editorTemplate -suppress "wireLocatorTwist"; editorTemplate -suppress "deformedWire"; editorTemplate -suppress "baseWire"; editorTemplate -suppress "holder"; editorTemplate -suppress "weightList"; editorTemplate -suppress "weights"; editorTemplate -suppress "originalGeometry"; // include/call base class/node attributes AEgeometryFilterCommon $nodeName; AEgeometryFilterInclude $nodeName; editorTemplate -addExtraControls; editorTemplate -endScrollLayout; }