Viewpoint Forums
Viewpoint Forums
SDK Support
using the activeX component|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Have anyone been able to use the activeX component AxMetaStream.dll? I have been trying, but I can not seem to pass the necesary parameters to the control. I have been looking into how it is put on a webpage(using the object tag), but still seem to miss something. Any help would be appreciated...
Thanks in advance, Lasse |
||
|
|
Member |
I am writing an app in C#(.NET). When you import the activeX(COM) control, it makes a wrapper class around the activeX control.
Concerning the SetObjectRects and SetClientSite, I cannot find such functions in the wrapper class, but I do have the option of setting the properties clientRectangle and Site, which I guess should be the same. |
|||
|
|
Member |
Well, trying again I made it work. Strange though, since I am pretty sure, that I did the same the last time. I also set the ComponentFileName='SceneComponent.mtc'. Anyway, how is it possible to get rid of the flickering viewpoint logos in the background? If it costs something, how much will it be?
Another thing, which actually led me to try this, is that I really do not want to go all the way to mts/mtx. It is possible to drop/drag an obj file onto your scenebuilder, and I was wondering if it was possible to do the same (setting the source) in the active X control? I guess I have to use another componentFileName, or what? |
|||
|
| <Niko>
|
Gooky,
it looks like what you really want to do is not using the AxMetastream ActiveX control. You should use the SDK itself, the SDK is a C++ programming interface that will let you do this kind of operations. you can create the view yourself, populate the scene yourself (so the data can come from any source). You should give us more information on what you are trying to do if you want us to be able to help you efficiently. If there are some information you don't want to share with people on this board you can send an email to sdksupport@viewpoint.com. |
||
|
|
Member |
Gee thanks, but I am not hiding anything
I want to make a stand alone application for our company. The main purpose is that we have tons of obj files, which we would like to be able to view using a viewer. I have seen that the scenebuilder is able to view obj files, which is exactly what we are after.(Or maybe it converts the obj files into MTX and shows those...) Right now - our solution would be to convert all these obj files into mts/mtx and then we would be able to see them, but that is a process that is too time consuming, since we every day add appr. 100 obj files. It sounds like that it would be great to have the sdk, but I have been looking for the download without luck - I guess it will cost me, but how much? I do not know if the way to go is the activeX control, or it is the SDK. I think I am pretty close with the activeX, but if the last step is impossible, then the SDK is the way to go. Maybe you are able to give me a hint after this explanation. Thanks in advance, Lasse |
|||
|
|
Member |
I got the sdk, and it seems as if there is a bit of reading to be done. I am NOT a c++ programmer, so I guess that if the Active X idea would work, it would suit me extremely nice.
|
|||
|
| <Niko>
|
Hi,
there is a way to import OBJ files using only the plugin, but for that i will need to send you one file. send an email to sdksupport@viewpoint.com and i will reply to you with the file attached. |
||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
SDK Support
using the activeX component
