Community
Please help me refresh the data in WFRM2ALL autocad electrical.
I have an example as follows:
void RefreshDB()
{
resbuf *rb_in = acutBuildList(
RTSTR, _T("c:wd_mdb_rebuild"),
RTNIL,
RTNONE);
resbuf *rb_out;
acedInvoke(rb_in, &rb_out);
acutRelRb(rb_in);
acutRelRb(rb_out);
}
Thanks!
Now, I find the solution but I think it is not optimal:
acDocManager->sendStringToExecute(acDocManager->curDocument(), _T("(c:ace_update_WFRM2ALL 1)\n"), true, true, false);
Can't find what you're looking for? Ask the community or share your knowledge.