Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  • Users: ZsZs
  • Order by date
  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...
  16. ZsZs

    How usable the AssemblyDoc::IAddComponent2 function (in the API)?

    Hi! I like the to use the IAddCmponent2 function of Assembly document. The help of Solidworks illustrate with a full example, but is not compiled, because was a error: the LPCOMPONENT type is undefined symbol. I don't found the symbol declaration... After that I exchange the LPCOMPONENT to...
  17. ZsZs

    What mean the transformation matrix, rotation submatrix parameters?

    Thanks!!! This is very good! I understand the rotation, and set my rotation matrix, and it work! :-) ZsZs.
  18. ZsZs

    What mean the transformation matrix, rotation submatrix parameters?

    I haven't idea how able to rotating a component... :-(
  19. ZsZs

    What mean the transformation matrix, rotation submatrix parameters?

    Thanks! I beleive help me more a example: If I have a component, and I moving the x=1, y=1, z=1 positions, then I set the transformation matrix 9-11. element = 1. This is the translation vector. (I don't use the scaling factor.) I put (move) the component this position (and it is working: the...
  20. ZsZs

    What mean the transformation matrix, rotation submatrix parameters?

    Hi! I have a C++ program. I know to moving my components by this transformation matrix, but I like rotating too. The Solidworks help wrote at the MathTransform Object: "The SolidWorks transformation matrix is stored as a homogeneous matrix of 16 elements, ordered as shown. The first 9 (a to...
Back
Top