Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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: *

  1. Bwaggoner

    SWMD Custom Property API

    This is an example from the Doc. Mgr API help file. We have several files with the custom property of by_date filled out as a text type. I need to change this to a date type. This code works but I am having an issue. If I run the code and check the results by RMB clicking on the file in Win...
  2. Bwaggoner

    Cannot edit sketch-text extruded-cut

    You have to select below and to the left because the text was rotated 180 deg. Odd thing about SW. I find it easier to use a construction line to help control the location of text. Draw a construction line then enter the sketch text command, in the box that says curves select the sketch line.
  3. Bwaggoner

    API inset hole table

    Yes that inserts the hole table. It doesn't have to but I don't have a anchor point set so I would rather let the user position it wherever they need it to be.
  4. Bwaggoner

    API inset hole table

    Handleman you are a lifesaver. It works great thanks.
  5. Bwaggoner

    API inset hole table

    I've written a macro that insterts a hole table as part of a bigger program that I'm working on. The issue is I want to hide the table after it is inserted but have the origin shown. I can't seem to find the code to do that. Below is the code to insert the table any help would be appreciated...
  6. Bwaggoner

    huge "replace components" project

    I'm pretty sure it will go back to what TheTick was talking about (internal ID's) will be different. You can accept the error but you might have some mates to fix.
  7. Bwaggoner

    huge "replace components" project

    I hope this helps, I will try to help where I can. This does use the SW Document Manager so you will have to contact SW to get a key if you don't have one. http://files.engineering.com/getfile.aspx?folder=01bbb253-e74f-474e-9c28-9214a206a733&file=Re_ref_delete_orig_4_EngTips.xls
  8. Bwaggoner

    huge "replace components" project

    we had a similar issue where we needed to change a location of a shared forlder that a lot of files were being referenced from. We wrote a macro that read the assembly references and listed them out. We then looked into the new directory to see if we could find the exact same file name match...
  9. Bwaggoner

    Even Jeff Ray comments on this Cadalyst article on First Sale doctrine

    Here is a link about cloud computing that I got in my email today. http://blogs.techrepublic.com.com/hiner/?p=844&tag=nl.e101
  10. Bwaggoner

    x, y, z table in api

    That will give you the arc centerpoints as well. Which they are not wanting. What I would like is to have the user select each point and then let the macro capture the coords. of each. Also we have more than 1 sketch so if it could allow user to get into another sketch that would be great. I...
  11. Bwaggoner

    x, y, z table in api

    We are trying to create a table just like the hole table in solidworks. Our problem is we are cutting a path, like for a gasket track. We need to be able to capture the coordinates of the sketch points. I've got some code that I'm working with but it captures arc center points as well, which...
  12. Bwaggoner

    solidnetwork license admin code

    Has anyone written code, that they would be willing to share, that retrieves license usage and puts it in Excel or anything? Thanks in advance.
  13. Bwaggoner

    Document Mgr API

    Here's what I've done. In C:\My Stuff\Ref Test\Original I have: Assm1, Part1, Part2, & Part3. Also, I have new folder In C:\My Stuff\Ref Test\Replaced I have: Part1, Part2, & Part3. If I run my macro then I move the part files in the Original folder to folder C:\My Stuff\Ref...
  14. Bwaggoner

    Document Mgr API

    TheTick. That would be great I'm curious to see what you did.
  15. Bwaggoner

    Document Mgr API

    The rebuilds are not necessary. I'm beginning to believe that it is not possible to rereference an assembly to parts in a different location with the same name. It can be done in Solidworks using the open dialog and selecting references. I've done that. The first code I posted works if the...
  16. Bwaggoner

    Document Mgr API

    Since this is regarding the same topic I thought I would add to this post. The below code is part of a much bigger macro. Basically what I'm trying to accomplish is changing a file reference. What we've done is 1) Read the children from an assembly. 2) Look in directory (x) and see if any of...
  17. Bwaggoner

    Document Mgr API

    handleman your a lifesaver. . . The True argument = read only False = read-write Who would have thunk it.
  18. Bwaggoner

    Document Mgr API

    The refs don't get changed when I use Save. If the assembly is opened as read-only how would I tell or how would I tell it to open it for editing?
  19. Bwaggoner

    Document Mgr API

    I am testing the following code (from SW). The code does work if I put in the line swDoc.SaveAs I don't want to do because it seems kind-of like bad coding. I don't want to have to saveas the same file. I appears that swDoc.save is a valid option but the references do not change. Any idea of...
  20. Bwaggoner

    PDME Group

    Lets say that I have groups 1. Also I have group A and B which is a sub group of group 1. Sometimes I may want to notify all of group 1 which would include group A and B. Other time I may only want to notify group B but not all of group 1. I hope that makes since.

Part and Inventory Search