Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Search results for query: *

  1. mihalj

    SolidWorks API-curve driven pattern

    Hello, is there a way to edit existing part curve driven pattern and change (modify) only spacing between patterned feature, then rebuild whole part model in VBA macro? Ideally I do not want to re-create whole curve driven pattern feature as I will lose selected face in order to make feature...
  2. mihalj

    Converting helix based surface into sheet metal - is it possible

    Thanks for much simpler solution, however I still don't get it why it cannot create sheet metal out of thickened surface (uniform thickness, formable,radius very large, so I don't see any obstacle)? In general then do you know what kind of surfaces can be converted to sheet metal? Thanks a lot...
  3. mihalj

    Converting helix based surface into sheet metal - is it possible

    Hello, is it possible to create sheet metal out of helix based surface (thickened or non-thickened)? I did try to create pure sheet metal (as part in the attachment, but when it is flattened, only curved part is shown and straight disappears). Now I am trying to get the part made in surface and...
  4. mihalj

    Curve Pattern on helix

    Figured it out. I did not realize that your face was on inside end of curve (not outside, which I constantly tried to select). Now everything works without issue. Big thanks again. Cheers,
  5. mihalj

    Curve Pattern on helix

    Thanks. For some reason, I can see your solution and all works without issue. However, when I try to re-create very same thing on very same file with exactly same settings, it does not allow me to select face on "Face Normal". Regardless, thanks. I guess I need to create new file and try it...
  6. mihalj

    Curve Pattern on helix

    Hello again, please find in the attachment the SW file. My goal is, by using 3d curve running through the center of hole, to create curve pattern of the hole across helix modeled sheet metal. It does show in preview holes, but when I press ok it gives me an error like I need to click on edge...
  7. mihalj

    Curve Pattern on helix

    Hello, does anyone know, based on provided photo, why I cannot curve pattern hole on face of helix based feature (lofted bend). It does show holes in preview but when click to do it, get error...
  8. mihalj

    Macro with user form

    Hi, trying to make SW VBA macro to call UserForm1 from Sub main(), and during initialization of the form I am pulling data from excel file into combo box in the form. However, I always get only form to show up but without any data within combo box. Trying to locate where the issue is, so I...
  9. mihalj

    Task Pane blank...

    Hello, if it happens next time I am going to try that. I tried to uninstall and reinstall, but issue was still present. Then I uninstalled it, then went to registry and manually deleted every single key related to the SolidWorks. After reinstalling the issue was gone. Regardless, thanks for...
  10. mihalj

    Task Pane blank...

    Forgot to mention. Blank task pane is stuck in place on screen and there is no way to move it around. Only thing I can do is hide it or show it.
  11. mihalj

    Task Pane blank...

    Hi, did anyone had an issue having task pane blank? Also I do have installed toolbox, but due to issue with task pane I do not have an access to Toolbox Fasteners. What to do to resolve and if there is no solution, what is way around to insert toolbox fasteners without task pane access? In the...
  12. mihalj

    Getting relative views of each body of multibody part

    Hi, I am trying to automatically create drawing document with number of sheets that match number of bodies in multibody part that is active and opened prior to running the macro. Each sheet would contain relative view of one body. What does happen when running macro as shown below, I do get...
  13. mihalj

    SolidWorks macro with Excel

    Sorry, I did not reply earlier as I completely forgot I did post question on a forum. In short, I did resolve the issue same day using "Kill Taskbar" command to close any excel activity after passing all data from excel to variables inside the macro before reshuffling everything and assigning...
  14. mihalj

    SolidWorks macro with Excel

    Hi, I am creating macro where I first open excel file, then I am supposed by VBA from SW macro access already opened excel file. Just to mention, below code works, however vba opens about 10 copies of same excel file while it is working and I think the reason for it is For loop in the beginning...
  15. mihalj

    Attaching .vbproj macro to design binder

    Hi, at the moment I am stuck with very weird issue (unless I don't get this at all) in regards to passing dimension out of sketch: Dim swPart as IPartDoc Dim featureOfPart as IFeature = Nothing Dim sketchWidth As IDimension = Nothing Dim dblSketchWidth as Double = Nothing swPart =...
  16. mihalj

    Attaching .vbproj macro to design binder

    First of all thanks for the help. I think you nailed it with an idea to go thru direct API control of equation and try to run it thru code rather than standard equation editor (though might be more useful in this case to use MacroFeature within feature tree). There is specified function...
  17. mihalj

    Attaching .vbproj macro to design binder

    Hi, I did check their site (actually they triggered my interest to see how I can do that thru VB .Net as I am not quite familiar with VBA), but I do have difficulties to do the same under VB.Net. Also I did download some presentation done in 2011, and examples in it, but when I did it open in...
  18. mihalj

    Attaching .vbproj macro to design binder

    Hi, did anyone succeeded attaching macro created with Visual Basic net to design binder and run it from equation? If it was done can you please share what was exactly line added inside equation line (I am guessing it should be line added inside global variable)? I tried something with macro name...
  19. mihalj

    Weldment selection list

    In weldment when we are using profile type in old way (each angle has its own weldment profile drawing), whenever we are picking element under "Structural Member" standard, type and size that selection stays when we are choosing next weldment element. However, with new type where all elements...
  20. mihalj

    work in polytropic process...a bit confusing

    Hi, can anyone explain why boundary work in closed system for compressor is calculated as W = ∫pdV and polytropic process after integration is generally W = -(p2V2 - p1V1)/(1-n)...(numbers behind p and V are subscripts)... When we talk about control volume, isentropic internally reversible...
Back
Top