Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 06:45, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.2+ Platform: Windows ; Mac ; Mac OSX ; Language(s) : C++ ; XPRESSO ;
--------- Howdy,
Is it possible to add an output port to a tag so that it is available for Xpresso? I want the tag to output a Real value and have it available for Xpresso, but I don't want to have it available as an editable AM description.
Adios, Cactus Dan
On 10/03/2005 at 06:58, xxxxxxxx wrote:
Howdy
if I understand you correctly, simply add a REAL element to your resources and give it a HIDDEN flag. (or hide it from within your code)
This will still show it in Xpresso but the user cannot see it (but you can still use it from within your code).
On 10/03/2005 at 08:44, xxxxxxxx wrote:
Howdy,
I tried that, but it doesn't seem to work. If the element is given the HIDDEN flag, then it is also hidden in Xpresso and I can not add it as an output port for the node.
On 10/03/2005 at 09:37, xxxxxxxx wrote:
You can just write a simple Xpresso node to evaluate the tag and output the correct data. If you want just email me at [email protected] and I will prepare some source for you. Always respected your work, hope it will help.
Regards, darf
On 11/03/2005 at 05:24, xxxxxxxx wrote:
It works fine for me here when the hidden flag is set. However I´ve set it from within GetDDescription (that´s why I proposed it). No additional node necessary afai can see here (should be the last alternative).
On 11/03/2005 at 19:37, xxxxxxxx wrote:
> Quote: Originally posted by 3D Designer on 11 March 2005 > > * * * > > It works fine for me here when the hidden flag is set. However I´ve set it from within GetDDescription (that´s why I proposed it). No additional node necessary afai can see here (should be the last alternative). > > > * * *
Ah-ha! I didn't try it that way. I was giving it the HIDDEN flag in the .res file and it wasn't working. Thanks. I'll give that a try.
On 02/02/2006 at 11:02, xxxxxxxx wrote:
Bool AtomObject::GetDDescription(GeListNode *node, Description *description, LONG &flags;) { if (!description->LoadDescription(node->GetType())) return FALSE; int i=1; while (g.sg.fq _.is_used==true) { BaseContainer bc2 = GetCustomDataTypeDefault(DTYPE_REAL); bc2.SetString(DESC_NAME,RealToString(i)); bc2.SetLong(DESC_CUSTOMGUI,CUSTOMGUI_REAL); bc2.SetLong(DESC_UNIT,DESC_UNIT_REAL); bc2.SetBool(DESC_HIDE,TRUE); if (!description->SetParameter(DescLevel(i,DTYPE_REAL,0),bc2,DescLevel(ID_OUTPUT))) return FALSE; i++; } flags |= DESCFLAGS_DESC_LOADED; return ObjectData::GetDDescription(node,description,flags);
this hides it in AM AND in Xpresso... Really have no idea why it doesn't work in my case... 3D Designer, help, please
regards
On 03/02/2006 at 15:02, xxxxxxxx wrote:
nobody knows!? interesting...
On 03/02/2006 at 16:25, xxxxxxxx wrote:
Vuce: I couldn't get it to work either, so I just let that parameter show in the AM. In my plugin's case that AM parameter couldn't be changed by the user anyway so I just left it visible.
On 04/02/2006 at 01:35, xxxxxxxx wrote:
Thanks. I'll do that then i guess...
Regards