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).
Hi Riccardo-san,
Thank you for your very helpful!! And sorry late reply.
Thanks to my understanding of what I should do. I will add code to solve it from now on and report again. It may take a while, but if I do not understand, I may post a question again.
However, your advice was very helpful. Thanks a million!
Makoto Tamura
I trying to make the axis tool in my plugin.
After moving or rotating the object, use the inverse matrix to return each point to its original position.
My method almost similar to this topic https://plugincafe.maxon.net/topic/6302/6696_axis-position/7
Basically, move and rotation are working well. But, if the object has a normal tag, normal directions are not back to correct.
I have not enough knowledge about handling the orientation of normals, so probably I overlook something.
Would you have any solution?
Best regards, Makoto Tamura
Thank you, Sebastian.
Your reply clearly shows what I should learn.
I need a little time to understand, but I am working on it and I made a little progress.
Cheers Makoto
Cinema4D R20; Windows 10; C++;
Hi all,
I did add the simple listview custom GUI on the my VideoPost plugin. Listview is the same as the SDK example.
Also, I have listview displayed in using GetDDescription in the VideoPost.
And I'd like to access this list of data from the VideoPost function. e.g, GetItem or GetItemCount etc from the listview1 or listvew2. But I still do not know how to do it.
If I want to do get data of the listview from VideoPost, what kind of procedure should I access?
GetDDescription in my VideoPost
///// inside My VideoPostPlugin GetDDescription ////////////// ///// ListView /////////////////////////////////////////////// cid = DescLevel(MY_VIDEOPOST_TAB, DTYPE_GROUP, 0); if (!singleid || cid.IsPartOf(*singleid, nullptr)) // important to check for speedup c4d! { BaseContainer secondgroup = GetCustomDataTypeDefault(DTYPE_GROUP); secondgroup.SetString(DESC_NAME, "Test Tab"_s); if (!description->SetParameter(cid, secondgroup, DescLevel(0))) return true; } DescID cid_Tree = DescLevel(IDS_MY_CUSTOMGUI, ID_MY_CUSTOMGUI_CUSTOMDATATYPE, 0); if (!singleid || cid.IsPartOf(*singleid, nullptr)) // important to check for speedup c4d! { BaseContainer bc = GetCustomDataTypeDefault(ID_MY_CUSTOMGUI_CUSTOMDATATYPE); bc.GetCustomDataType(DESC_CUSTOMGUI, ID_MY_CUSTOMGUI_CUSTOMDATATYPE); if (!description->SetParameter(cid_Tree, bc, DescLevel(MY_VIDEOPOST_TAB))) return TRUE; }
Any opinion will be helpful. Best Regards, Makoto,