Continue to Site

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!

Recent content by ZsZs

  1. ZsZs

    How get the instance number of my component (in API) ?

    Thanks! I follow this way... ZsZs.
  2. ZsZs

    How get the instance number of my component (in API) ?

    Hi! I attach a picture. I like selecting the component (with API) - signed with red circle. Before I use the ModelDocExtension::SelectByID2 method, I need to use the fully qualified name (otherwise not working this method). The API help wrote: "The ModelDoc2 object used to call this method...
  3. ZsZs

    Get all dimension parameter from assembly

    Sorry the attached file...http://files.engineering.com/getfile.aspx?folder=db9fc3fa-e6fc-4d4e-b9da-110f3b12644b&file=fig1b.jpg
  4. ZsZs

    Get all dimension parameter from assembly

    I did a Pack'NGo with API functions. (C++ COM technique) I have some bad equation (and many good too). I like to change the bad equation to the good. It is very simple. I attach a picture. The dimension in the purple ellipse are read-only. My job remove the read-only flag in the assembly...
  5. ZsZs

    Get all dimension parameter from assembly

    Hi! I have a big problem. I like get the all dimension parameter of my assembly. (API) I don't know the name of parameter, therefore I like get the all parameters, and I check the read-only flag of dimension (and set to false, if not...) I not found any method that read up the parameters of...
  6. ZsZs

    Who used the Component2::UpdateExternalFileReferences API function?

    I found the solution: SldWorks::ReplaceReferencedDocument() Thanks!
  7. ZsZs

    Who used the Component2::UpdateExternalFileReferences API function?

    I capture the Solidworks screen and I attach. I like to change the path the external reference assembly file (in the red ellipse) to the correct value. (C:\TE3\...) Have a any possibility? I don't able to change in the...
  8. ZsZs

    Who used the Component2::UpdateExternalFileReferences API function?

    Thanks! I wrote the API-forum of Solidwors, but no answer... I like use the Pack And Go function from my application, but haven't Pack And Go API-function. I need the to realize that copy the source assembly (with parts) BUT copy a another location. May be the essential of this function the...
  9. ZsZs

    Who used the Component2::UpdateExternalFileReferences API function?

    I using C++ with COM, but I am happy with VB help too. The description of this function in the API-help are nothing. I how using it? (I'm computer programmer not a CAD architect...) Regards: ZsZs.
  10. ZsZs

    Get references from part file

    I must be to write Pack 'n Go with API. It is difficult problem (for me)... I get the references with the SldWorks::GetDocumentDependencies2() function. It is working... I get the all references from assembly... (sub-assembly and part, both ok...) I replace with the references the...
  11. ZsZs

    How can use the SW Document Manager in API?

    It's shame, really... :-(
  12. ZsZs

    How can use the SW Document Manager in API?

    Thanks! What is the VAR ("...should be your VAR.") ? Regards, ZsZs.
  13. ZsZs

    How can use the SW Document Manager in API?

    Hi! I like to use in Document Manager in VC++ 6.0 with API A example wrote this rows: CComPtr<ISwDMClassFactory> swClassFact; CComPtr<ISwDMApplication> swDocMgr; But I not found the interface classes (ISwDMClassFactory and ISwDMApplication) in any type libraries (TLB files). How access the...
  14. ZsZs

    2 occurrence from 1 assembly - may be without PackNGo?

    Thanks, I try this chance! ZsZs.
  15. ZsZs

    2 occurrence from 1 assembly - may be without PackNGo?

    Hi! Have a any function in SW (2007 or above) with I use two occurence of one component? I have a assembly document, and I like to use this assembly (embedding in a another assembly) doubly. The difference only the components size. Must be use to 'Pack And Go' function to duplicate my...

Part and Inventory Search