<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Performance &#x2F; Viewport refresh Problems in 2026 - 2027.0.0]]></title><description><![CDATA[<p dir="auto">Question: Did any implementation of  <code>GetState() , c4d.CMD_ENABLED GetMode()</code> change in the SDK that i have to be aware of?</p>
<p dir="auto">I found a performance / Viewport update bug in my Plugin which was no bug in older C4D versions.<br />
These two methods make the viewport slow , and message "blocks" the update till i interact with the viewport.<br />
Tooldata - Point mode tool</p>
<pre><code># Problematic in R2026
def GetState(self, doc):
    if doc.GetMode() != c4d.Mpoints:
        c4d_progressbar(text="Go into Point Edit Mode!")
        return False
    elif len(doc.GetActiveObjects(c4d.GETACTIVEOBJECTFLAGS_0)) != 1 : 
        c4d_progressbar(text="Only one Object allowed!")
        return False
    else:
        c4d_progressbar(clear=True)
    return c4d.CMD_ENABLED

# Problematic in R2027

def Message(self, doc, parameters, type, t_data):
    if doc.GetMode() != c4d.Mpoints:
        self.FreeTool(doc, parameters)
        return False
    return True
</code></pre>
<p dir="auto">thank you for your time<br />
mogh</p>
]]></description><link>http://developers.maxon.net/forum/topic/16455/performance-viewport-refresh-problems-in-2026-2027.0.0</link><generator>RSS for Node</generator><lastBuildDate>Mon, 02 Nov 2026 17:39:12 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16455.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Oct 2026 10:22:59 GMT</pubDate><ttl>60</ttl></channel></rss>