
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have a challenge here, Need a VBA macro for following description :
1. For Creating a sketch (Need to stay in the sketch environment for importing points)
2. Importing point from Local Excel file as there is option in the sketch "Import Sketch".
- To Execute the "Import Sketch", an Excel file is required with the X,Y,Z co-ordinates in it. So this command should be included in the VBA macro, Need to specify the location of the excel file.
3. Now using above points which were created by using Import Sketch, Punch tool command should occur.
Let me explain in other words,
I need a sketch on which multiple points needs to be added for punch tool command.
But the challenge is importing points from the excel file.
Below link explains how Import Sketch command Works
Hope this clears the Import Sketch.
Now my requirement is to create a macro in a such way that it will create Sketch on the desired plane, then use import Sketch command..(I will be creating excel file in the system, you can specify the path for the excel file, will dump the file there.)
then after importing points on the plane, punch tool command should occur. that's it.
Also please see if you could allow to use more than one excel file, as there are many type of punches I use in the Model.
Its a repeat kind of work. "Just to add I am not from Coding background. "
thanks in advance.
Solved! Go to Solution.