Sign in to follow this  
Followers 0
Patrick Winkler

Developer Tip: Using vs.Handle Attributes

2 posts in this topic

Hello together,

 

when using the pydev debugger I noticed that vs.Handle provides some attributes that make scripting a bit more comfortable.

Hopefully more attributes will follow.

 

vs_Handle_Atriibutes.png.121a1da6c8ebdcb1332b9c3b4f7c11fb.png

 

def test():
    vs.CreateText('Hello!!')    
    h = vs.LNewObj() 
            
    print ('Type', h.type)
    print ('Parent', h.parent)
    print ('Parent Type', h.parent.type)
    
    

regards,

Patrick

 

2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0