Triggering button in properties [SOLVED]
On 27/05/2015 at 09:52, xxxxxxxx wrote:
Cinema 4D Version: R16
Platform: Windows ;
Language(s) : C++ ;
That worked thanks!
On 27/05/2015 at 11:05, xxxxxxxx wrote:
Do something like this:
DescriptionCommand ClickButton; ClickButton.id = DescID(DescLevel(ID_CA_GEOMCACHE_TAG_STORE,DTYPE_BUTTON,0L)); // tag is a BaseTag* to the Point Cache tag that you want to click the button in tag->Message(MSG_DESCRIPTION_COMMAND, &ClickButton); // These might be needed to have C4D update everything after the button is 'clicked' tag->Message(MSG_UPDATE); EventAdd();
On 28/05/2015 at 11:03, xxxxxxxx wrote:
The point cache tag has no API access, I can only access it's property descriptions. I need to trigger the "Store State" button listed in the properties. I know python has a CallButton command. I have the button's ID.
How do I open the tag properties for a specific object and trigger it's "store state" button in C++?