Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Vinay2479
  • Order by date
  1. Vinay2479

    VB form with Solidworks Macrro

    Hi, I have created a form in a Solidworks macro. Can I switch to Solidworks while a VB form is being displayed still?. I want to re-orient the model and select the options in VB form to continue running it. Regards, Vinay
  2. Vinay2479

    Setting Design table value through Macro

    But still I am not able to assign the value to the excel cell of design table. Regards, Vinay
  3. Vinay2479

    3GB switch in Solidworks

    There is option called 3GB switch in some of the 3D CAD softwares.Is there any similar option in Solidworks so that we can make use of more RAM space. Regards, Vinay
  4. Vinay2479

    Setting Design table value through Macro

    Thanks Artem for reply. I am not getting compile error now. But I am not able to edit the designtable with this API. Follwing is the bit of the code I am using, DT.EditTable2 (True) DT.SetEntryValue 49, 3, False, cellvalue Doc.CloseFamilyTable Regards, Vinay
  5. Vinay2479

    Setting Design table value through Macro

    Hi, I was trying to edit Design table value through macro. I used SetEntryValue method under Designtable object. DT.SetEntryValue(7, 3, False, cellvalue) * DT is deisgntable object Its giving me a compile error. I have written the code as per syntax. Can anyone help me on this. Regards, Vinay
  6. Vinay2479

    Selecting all Entities

    I was able to select all entities with your Code. Actually I wanted to move all entities to one layer. I selected all entities but now I am facing difficulty to find a method to move all entities to one layer. I try to make the desired layer active after selecting, but its not working.
  7. Vinay2479

    Selecting all Entities

    Thanks Artem for reply. Your VB code will help me.
  8. Vinay2479

    Selecting all Entities

    Hi, I was trying to select all entities in a SolidWorks drawing through SolidWorks API. The drawing has been created from a dxf. I searched for a method for window selection, I think its not avaialble. Can someone has steps to do such selection. Regards, Vinay
  9. Vinay2479

    Browse button in VB form

    I tried to implement browseforfolder example with solidworks. Its giving an error of a dll not found. This is the part of code where its is giving error Private Declare Function GetCurrentVbaProject _ Lib "vba332.dll" Alias "EbGetExecutingProj" _ (hProject As Long) As Long Private Declare...
  10. Vinay2479

    Browse button in VB form

    Thank you. I will try.
  11. Vinay2479

    Browse button in VB form

    Thanks. Do I need to get VB6 to do this?
  12. Vinay2479

    Browse button in VB form

    Hi all, Does any one knows how to create a Browse button in VB form. I want a browse button in my VB form. In the macro I want to select a folder by using the browse button as we do in windows explorer. Vinay
  13. Vinay2479

    How to delete the Macro Button

    Hi all, can anyone tell me how to delete a Macro button once I add. I added a Macro button and gave a shortcut key , but I am not able to edit the Shortcut key or delete the macro button. Regards, vinay
  14. Vinay2479

    Attaching macro to a part

    Thanks for the link. I will go through the help.
  15. Vinay2479

    Attaching macro to a part

    Attach means whenever I open the part the macro must automatically execute. I want to assosiate a particular macro to a particular part, I need not go to Tools->Macro->Run to selct the macro and run.
  16. Vinay2479

    Attaching macro to a part

    Hi. Does anyone know how we can attach a macro to a particular part. Please give example. Vinay
  17. Vinay2479

    Sw2003 API Problem

    Hi.. Can "ModelDoc2.SketchSpline" method be used to create spline in this case if we store x , y and z cords in different arrays.
  18. Vinay2479

    VBA adding notes to drawing from Excel

    Hi I think the Excel object must be Set first to access by using the code Dim ex as object Set ex = GetObject(, "Excel.Application")(if excel is running) Set ex = CreateObject(, "Excel.Application")(if excel is not running) and to access the worksheets u can use below code...

Part and Inventory Search

Back
Top