Excessive activity of a new AI scraper (ClaudeBot) has basically DOS'ed this forum during the recent weeks. We're trying to find ways to ban it somehow to get the forum working better again. Expect some more slowdowns in the meantime.

How to use qtevents in pyqtforsoftimage addon?

Discussions concerning programming of SOFTIMAGE©
Post Reply
anhungxadieu
Posts: 175
Joined: 17 Apr 2014, 10:39
Skype: nguyenvuducthuy

How to use qtevents in pyqtforsoftimage addon?

Post by anhungxadieu » 26 Feb 2018, 09:26

Hi there,
Does anyone know how to use qt even in softimage? i want to create simple selection change event inside my widget.

anhungxadieu
Posts: 175
Joined: 17 Apr 2014, 10:39
Skype: nguyenvuducthuy

Re: How to use qtevents in pyqtforsoftimage addon?

Post by anhungxadieu » 27 Feb 2018, 11:40

[Solved]
My bad, it's very simple -->

Code: Select all

import sisignals
self.callback = sisignals.signals.siSelectionChange
sisignals.muteSIEvent("siSelectionChange", False)
self.callback.connect(self.xsiSelectionChange)

User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: How to use qtevents in pyqtforsoftimage addon?

Post by rray » 27 Feb 2018, 11:48

Thanks for the update!
softimage resources section updated Jan 5th 2024

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests