v4.0
Returns the lock type for this parameter (siLockType) if it is locked. If it is not locked siLockTypeNone (0) is returned.
/* This example demonstrates how to find out the lock level on a parameter */ NewScene( null, false ); var oObj = Application.ActiveSceneRoot.AddGeometry( "Cone", "MeshSurface" ); var oParam = oObj.subdivu; Lock( oParam, siLockLevelManipulation ); Application.LogMessage( "The parameter lock type is: " + oParam.LockType ); UnLock( "cone.polymsh.geom.subdivu", siLockLevelManipulation ); // Expected result: //INFO : The parameter lock type is: 2 |