<?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[create link parameter accept Alembic tag]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Could you please help me find out how to define the link parameter in res file which only accepts Alembic tag? (And the Alembic tag should also converted from a vertex color tag before the object was backed as Alembic)</p>
<p dir="auto">I'm developing a plugin, and there is a link parameter, previously, in the res file, I used this to make the parameter only accept a vertex color tag.</p>
<pre><code>LINK xxx { OPEN; ACCEPT { Tvertexcolor; } }
</code></pre>
<p dir="auto">I'd like to change this link to only accept an Alembic tag which is converted from a vertex color tag.<br />
I got the "the Alembic tag which is converted from a vertex color tag" by this:<br />
There is an object with a vertex color tag, then the object is baked as Alembic by using the "Bake as Alembic" menu item popped by right click on the object.<br />
Then the backed Alembic file is imported automatically, and the original vertex color tag will become an Alembic tag.</p>
<p dir="auto">I tried</p>
<pre><code>LINK xxx { OPEN; ACCEPT { Talembic; } }
</code></pre>
<p dir="auto">However, this somehow broke the res file, and made all other parameters disappear.</p>
<pre><code>LINK xxx { OPEN; ACCEPT { 1036433; } }
</code></pre>
<p dir="auto">By replacing Talembic with 1036433 (this is the value defined for Talembic in cinema.framework/source/ge_prepass.h), it does give me a link parameter accepts Alembic tags (I don't know why the Talembic doesn't work, but the actual number works here), but it doesn't limit to the Alembic tags converted from vertex color tags (i.e. all kinds of Alembic tags are accepted).</p>
<p dir="auto">Thanks!</p>
]]></description><link>http://developers.maxon.net/forum/topic/16084/create-link-parameter-accept-alembic-tag</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 07:41:20 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16084.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Mar 2025 03:46:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to create link parameter accept Alembic tag on Thu, 06 Mar 2025 03:54:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/m_adam">@<bdi>m_adam</bdi></a>, Thank you!</p>
<p dir="auto">Yes,  <code>Message(GeListNode* node, Int32 type, void* data)</code> works for me.</p>
<p dir="auto">I'm wondering shall my plugin just return <code>true</code> after processing <code>MSG_DESCRIPTION_CHECKDRAGANDDROP</code> in the <code>Message()</code> function (set the value of <code>DescriptionCheckDragAndDrop::_result</code>) or still call <code>SUPER::Message(node, type, data);</code> at the end?<br />
It looks to me that calling <code>SUPER::Message(node, type, data);</code> at the end still works.<br />
But the example in  <a href="https://developers.maxon.net/docs/cpp/2025_0_1/page_descriptionresource__l_i_n_k.html#section_descriptionresource_LINK_description" target="_blank" rel="noopener noreferrer nofollow ugc">MSG_DESCRIPTION_CHECKDRAGANDDROP Message</a> doesn't call <code>SUPER::Message(node, type, data);</code>.</p>
<p dir="auto">Thanks!</p>
]]></description><link>http://developers.maxon.net/forum/post/76067</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76067</guid><dc:creator><![CDATA[BruceC]]></dc:creator><pubDate>Thu, 06 Mar 2025 03:54:31 GMT</pubDate></item><item><title><![CDATA[Reply to create link parameter accept Alembic tag on Wed, 05 Mar 2025 08:46:42 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/brucec">@<bdi>BruceC</bdi></a>, sadly its a bug in our own parser, so you will have to cope with the integer value for now.</p>
<p dir="auto">Regarding your second question on how to limit only to VertexColorTag for Alembic, there is no way to do that via the res file. But you can react in your Message method to the <a href="https://developers.maxon.net/docs/cpp/2025_1_0/page_descriptionresource__l_i_n_k.html#section_descriptionresource_LINK_description" target="_blank" rel="noopener noreferrer nofollow ugc">MSG_DESCRIPTION_CHECKDRAGANDDROP Message</a>. Then check if the passed object is an alembic tag and if its a vertex map or not. You cna find a python example (although you are in C++, just so that you have an idea of how it works in <a href="https://developers.maxon.net/forum/topic/15313/controlling-drag-drop-using-msg_description_checkdraganddrop" target="_blank" rel="noopener noreferrer nofollow ugc">this topic</a>)</p>
<p dir="auto">Cheers,<br />
Maxime.</p>
]]></description><link>http://developers.maxon.net/forum/post/76045</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/76045</guid><dc:creator><![CDATA[m_adam]]></dc:creator><pubDate>Wed, 05 Mar 2025 08:46:42 GMT</pubDate></item></channel></rss>