hi everyone
Enable disable in python grasshopper components
in this code doesn’t to disable the component and nothings happening !!
please help me to control this by python or c# scripts ( i doesn’t want use mettahopper plugin )
import Grasshopper as gh
for obj in ghenv.Component.OnPingDocument().Objects:
if obj.NickName == NickName:
obj.Locked = Enable
Enable disable in python grasshopper components.gh (13.3 KB)
@dale
@Mahdiyar
@Jarek
4 posts - 3 participants