Hi,
I am trying to create an API that allows users tomodifyconfiguration specific properties of newly createdtoolboxcomponents. Specifically, I want to define a Part NumberandDescription "naming convention" based on the criteria chosenwhenthe configuration was created.
I am using VB 2005 and I am new to programming. I managed togeta macro to run while using a "FileDropNotify". UnfortunatelyI have not been able to use the"BeforWritingToDocuments" functionwhich I assume is when I need tomodify the properties. Idon't think I am accessing theToolBox.dll file properly,either. The API help menu gives thefollowing code in C:
LPDISPATCH pDisp = NULL;
HRESULT hres=pSldWorks->GetAddInObject("{ED783340-D5DB-11d4-BD5A-00C04F019809}",&pDisp);
Can anyone translate this to VB or English?
If you have any example VB code for SolidWorks Toolbox,pleasepost. I learn best by dissecting and modifying code.
Thanks
SolidworksApi macros