DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Python - creating custom methods/attributes for Channels or ChannelGroups objects

I have several methods and attributes that I'm trying to keep track of and apply on channel and group objects, and I think it would be much easier if I had a Class that could encapsulate all of those things. My Python experience is limited, but I think I recall that you can create derived or child classes and use those to extend functionality. However, I can't figure out what is defined as a class, and I can't figure out where the DIAdem.Application library lives, much less where the internal items like channels are defined. Even trying to understand `type(dd)` doesn't make any sense to me, as it returns as `<class 'win32com.client.dynamic.CDispatch'>`.

 

Am I barking up the wrong tree here? I still think it would be very handy to define custom things on items like channels, but I'm starting to wonder if everything is hidden from novices like me for a reason.

 

Thanks,

-AQ

0 Kudos
Message 1 of 1
(185 Views)