hey
so i want to inspect constraints on an object, all of them.
###
#imports
import win32com.client
from win32com.client import constants
#globals
xsi = win32com.client.Dispatch( "XSI.Application
" ).Application
xsiPrint = xsi.LogMessage
obj = xsi.Selection(0)
if obj.Kinematics.Constraints.Count > 0:
cnsList = obj.Kinematics.Constraints.GetAsText()
xsiPrint(cnsList)
xsi.InspectObj
(cnsList)
###
this code works fine but if the constraints are the same type they show in "multi" edit mode. i would prefer them to be in the same ppg one after another. if there is at least one constraint that is different i get what i want. the arguments for InspectObj() doesn't seem to contain an option to do this.... anyone know how i can disable the "multi" mode and force it to show each property one after another?
thanks
steven