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...
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...
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.
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...
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...
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...
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...
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...
Hi!
I create a new assembly doc (from my C++ program) and I like adding by assembly component to it.
But don't work... :-(
I like the adding the component to the assembly by the
AddComponent4() function.
The function result:
hres = S_OK (it's good) but a pointer to the component is...
Hi!
We have a another (bigger) problem.
We have a 2 part document in 1 assembly doc. The parts are identifical: for example both same a cabinet (derived from 1 part file). Both reference to the 1 part file.
The difference must be between the 2 instance only the cabinet size.
And now, if I...
Hi!
I'am a C++ programmer. I like to change the my object (in .SLDPRT file) distance from the origin (X, Z, Y coordinate) in my C++ (COM) program.
Which object and method do it? (Enough only the object/method name...)
Sorry a lamer question, but I'm lost in the SW object-tree... :-)
Thanks!
ZsZs.
Hi!
I'm programmer, and not CAD designer.
I have a big problem:
The parameter handling by the part document was success and it working...
But now, if I have (only) a parameter name (for example: S@Vázlat1) and I known the assembly document name (for example: LABE00.SLDASM), and I dont known the...