Quantcast
Channel: SCN : Discussion List - 3D Visual Enterprise Developer Center
Viewing all 40 articles
Browse latest View live

Customizing the Visual Viewer

$
0
0

Hi all,

 

I am looking for the right SDK (Viewer?, Core?) to customize the Viewer ActivX control that is found in the Viewer SDK.

The viewer is very has specific background, size, shape, etc... and I would have liked to maybe create a new one?

 

My end goal has 2 purposes:

 

1) Display a file from SAP Author with my own selected background (and no debug text at top left corner...)

 

2) Present a 3D Object from an SAP Author file transparently in front of another .NET object..

 

Anyone knows how and if is it possible ?

 

 

 

Many thanks,

Aviad.


How to specify folder when uploading?

$
0
0

Hi,

 

I'm just beginning to learn the Visual Enterprise Generator Soap API. I can upload files using VEAccess and have downloaded a VDS derivative successfully using the API.

 

Now I wish to look at uploading using the soap API. How would you specify a destination folder for a generated asset?

Retrieving Scene Info in html page

$
0
0

Hello,

I created a simple html page to try out the sdk and figure out how things work. I am running into a problem with getting the SceneInfo using the javascript example provided in the doc as seen below:

var si = oDvl.Scene.RetrieveSceneInfo(sceneToken,
DvlEnums.DVLSCENEINFO.DVLSCENEINFO_SELECTED);
for (var i = 0; i < si.length; i++)
{
  var selectedId = si.SelectedNodes[i];
  // do something with childId
}

 

When I check the value of si.length it is returning undefined. The scene renders my object correct and I do pass in the sceneToken but for some reason I can't get any information about the object in the scene. I also call this after the scene is loaded so I ruled out that being an issue. Please let me know how this method is supposed to work to retrieve the scene information. One thought was the way my 3D model is created might be causing an issue?

Thanks,

Omar

Cleaning up VE Viewer ActiveX memory

$
0
0

From our software engineer:

 

Bill,

 

A more important question to ask is if there is a proper way to clean up the memory of the VE Viewer ActiveX control. I have looked through the Visual Enterprise Viewer 7.0 SDK documentation and have not found a way to properly release that memory. Usually, an object that instantiates unmanaged memory will override the Dispose function for cleaning up that memory. It doesn't look like the |DeepView interface has overridden that function. It just contains the base Component.Dispose(). I don't know if this Dispose function cleans up the unmanaged memory or not. I believe that is why we are running into OutOfMemoryException errors.

 

 

Any suggestions or clarification would be appreciated.

 

Regards

3D viewer - compare two file

$
0
0

Dear all

 

I want compare two file on sap gui through 3d viewer like ECL  ,but i can find the menu bar to compare file.

 

 

 

 

 

best regard

 

yunlong.wang

Search a model tree and change the color of parts found

$
0
0

I am not new to SAP 3D Visual Enterprise Author 8.0 x64....

 

However I am new to some of the scripting abilities. Is it possible to have a script search the model tree and change the color of a parts list?

Issue in loading file from URL in HTML5 viewer

$
0
0

Hi Team,

 

I am trying out the SAP3DVisualEnterpriseApplicationsSDKv2_1 to display .VDS files in Viewer.

 

I am following the quick guide SAP3DVisualEnterpriseApplicationsSDKv2_1/Doc/quick-start-guide/sapui5.html. When i load files from local it is working fine,but when i load file from a url ,i am getting an error as the oDvl is null in the oViewer object.

 

Below is my script to load the file from URL.

//    

  var oViewer = new sap.ve.Viewer({ height: 512, width: 512});

  oStepNavigation = new sap.ve.ViewerStepNavigation({logEnabled:true, viewerInstance: oViewer});

  oViewer.loadFile("998Clutch.vds");

 

//

 

Am i missing anything here,

 

Thanks,

Althaf

SAP 3D Visual Enterprise applications SDK in 64-bit

$
0
0

!Hi


We use the SAP 3D Visual Enterprise applications SDK in our app,

and we do have a 32 bit and a 64 bit version of DLLs. 


DVL_Win32.dll & DVL_x64.dll


But the C# reference DLLs are only 32 bit


And so we can't really use the x64 bit version.

Any Idea how to utilize it in order to use the 64 bit version?


SAP.VE.DVL.dll

SAP.VE.DVL.Interop.dll


Aviad.



VEV from SAP GUI (monolithic JT): How to receive highlighted parts from VEV and highlight parts in VEV

$
0
0

Hi all,

 

I integrate the 3D VEV (Version 8.0.300.42588, May 5 2015) in SAP-GUI via the Interface IF_GUI_VIEWER_CONSUMER_MODEL.

Two Items

  • If I load the file via the IF_GUI_VIEWER_CONSUMER_MODEL~LOAD_VIEWER method I can pass the parameter IV_ID_FIELD. If I Ieave it initial, the system sets '$RH.POSID'. The result if I handle the SAP_VISUALIZATION event is an ID like 'POSID_16BA8CE0' e.g. What is '$RH.POSID'? For each viewer call the value is calculated new. Can I use other ID's?

    Now I request the metadata. I receive the data in the event handler for event IF_GUI_VIEWER_CONSUMER_MODEL~SAP_METADATA. But without the relation to the ID above.
  • If I like to higlight a part in VEV I use the method IF_GUI_VIEWER_CONSUMER_MODEL~SET_VISUALIZATION. I tried to use the ID from above, but without success.

 

It would be great to get some hints.

 

Best regards

Jürgen

Loading a VDS file without user selection

$
0
0

Hello Team,

 

I'm trying to use the SAP3D Visual Enterprise Application SDK to load a VDS file directly to an html page. Is it possible to do this without having the user select the file to upload?

 

The html developer manual shows 2 methods: load file from URL (oDvl.Helpers.LoadFile), and load file from disk (oDvl.Helpers.LoadLocalFile), but it seems like both options require the user to select a file.

 

Ideally I would like to provide the file path, for example "../media/teapot.vds" to the helper method, but the helper only seems to work with a file object. The html developer manual says you can create your own load file method using the pattern ["FS_createDataFile"]("/viewer/", [fileName], [uint8ArrayData], true, true), but I'm not familiar with emscripten, so this does not help me.

 

Any help is appreciated.

Thanks,

Nelson

DVL Library and VB.NET

$
0
0

Hi to all.

With SDK VEA SDK2.3 i'm trying to set up a demo program.

In some PC (VMWARE example virtual machine ) I get an error saying... (see below).

 

Could be an OpenGL / Video driver problem ? In these machines the VEV application runs with software renderer mode.

Is it possible also with DVL libraries ?

 

 

 

======================================

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.FormatException: Input string was not in a correct format.

   at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)

   at Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)

 

 

************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

TestVEV

    Assembly Version: 1.0.0.0

    Win32 Version: 1.0.0.0

    CodeBase: file:///TestVEV.exe

----------------------------------------

Microsoft.VisualBasic

    Assembly Version: 10.0.0.0

    Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Runtime.Remoting

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.34243 built by: FX452RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll

----------------------------------------

SAP.VE.DVL

    Assembly Version: 8.0.100.0

    Win32 Version: 8.0.100.0

    CodeBase: file://SAP.VE.DVL.DLL

----------------------------------------

SAP.VE.DVL.Interop

    Assembly Version: 8.0.2.0

    Win32 Version: 8.0.1.0

    CodeBase: file:///SAP.VE.DVL.Interop.DLL

----------------------------------------

 

 

 

02/09/2015 16:39:27    openGL context

02/09/2015 16:39:27    openGL INIT

02/09/2015 16:39:27    CoreWrapper

02/09/2015 16:39:28    Renderer : 4.1.0

02/09/2015 16:39:28    DVLClientImpl NEW

02/09/2015 16:39:28    _dvlCore.Init(_DVLClientImpl)

02/09/2015 16:39:28    _dvlCore.InitRenderer

02/09/2015 16:39:28   OpenGL|Vendor: Microsoft Corporation. Renderer: GDI Generic. Version: 1.1.0. Extensions: GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture

DVL Library VB.NET (_scene.Execute)

$
0
0

Hi to all.

I'm trying to do some queries with DVL (.net wrapper), but i get always

"notFound (-10)".

The same query with the same model runs good in VEV (OCX version).

 

The query string is something like:

everything()

show()

 

 

 

 

everything()

unselect()

 

 

partial_match($name ,"215610002440",false)

select()

show()

view_to_selected()

 

 

 

Any ideas?

 

Thank you.

Dynamic Resolution

$
0
0

Question,

 

What is the best method, using the C# based VEV SDK to obtain dynamic resolution. The authoring program VEA requires setting a given "output" resolution for the scene and steps within procedures in the VEA 8.0 SP5 P1.

 

Our current customer required the content to be adaptable to varying screen resolutions and aspect ratios. What would be the best method to obtain 'auto-scaling' capability for VEV packaged in the current VEV SDK that is not internet browser dependent?

 

Thanks for you help.

What is the 'Export Protection'?

$
0
0

Hi,

When I saved an RH file with 'Disable measurement' setting,

RH Export warning window was appeared.

There have been written about 'export protection'.

What is this? Is it different from 'File Protection' in  the setting?

 

Best Regards,

Kyouko Kurosawa

Author Plugin - incorrect Mesh generation

$
0
0

We have issues to generate geometries where a line is drawn on the same way, multiple times.

When a Polygonial Mesh is generated with some Points on the same line, the Mesh-Object won't be rendered properly.

 

 

A "rh::e3::Vector3List" is used for adding Points to the Mesh-Object.

 

The following image shows the drawn polygon in AutoCAD:

ACAD_Polygon.PNG

 

And this is the Polygonial Mesh after opening the file in the Visual Enterprise Author:

Author_Mesh.PNG

 

How do we have to generate the Polygonial Mesh that the geomtry will be rendered correctly?


Using Author-Plugin for VE-Link

$
0
0

We have successfully created a Plugin for the Visual Enterprise Author.

 

Is it possible to use it with the Visual Enterprise Link?

Current SDK's

$
0
0

Is the download for the VE Viewer SDK available on this site the most current and compatible with VE Viewer 9.0 that has just been released? If not, where can I find the most recent and compatible VE Viewer SDK?

 

Regards,

Bill Tucker

Android starter project

$
0
0

Hi guys,

 

 

I'm wondering if somebody could provide me with a working sample android project built with android studio and the gradle build system.

 

 

Eclipse is no longer supported by the Google Android project, so doesn't make sense to head down that road.

 

 

I'm unable to get the samples provided with the SDK to work.  I suspect there are some intricacies involved with setting up the native jni libraries, but without knowing much about this process, it makes it pretty difficult to debug. I spent the best part of a day banging my head against a brick wall trying to figure it out, the sample project would build and deploy to my device,  but crash immediately, with no useful error information.

 

Any help would be appreciated!

Visual Enterprise 8.0 slowness

$
0
0

A major issue we’re having with the 8.0 version is slowness in selecting a node and it’s children. If this slowness is resolved, it may remedy the freezing and crashing issue we've been experiencing.

 

Here’s a sample of the code that selects the nodes children.

 

void axDeepView_NodesSelectedEvent(object sender, AxExploration3D.IDeepViewEvents_NodesSelectedEvent e)
        {
            //List selected nodes on label.
            SceneObjectList nodes = axDeepView1.Scene.Nodes;

 

            //Store the node count
            int nodeCount = axDeepView1.Scene.Nodes.Count;

 

            //Some safety checks to make sure we are in the correct mode...  13 is the index we use to "part" selection as opposed to assembly
            if (e.currentlySelectedNodes.Count == 0 || nodeCount == 0 || Assembly_Button.ImageIndex == 13)
                return;

 

            //Loop through all our nodes
            for (int iNumNodes = 0; iNumNodes < e.currentlySelectedNodes.Count; ++iNumNodes)
            {
                //Grab the current node and store it
                Node selNode = e.currentlySelectedNodes.GetByIndex(iNumNodes);

 

                // Get the ultimate parent for the node
                for (selNode = selNode.Parent; selNode.Parent != null && selNode.Parent.Parent != null && selNode.Name != ""; )
                {
                    //Store the highest valid parent
                    selNode = selNode.Parent;
                }
              
                axDeepView1.NodesSelectedEvent -= axDeepView_NodesSelectedEvent;

 

                SelectChildren(selNode.FirstChild);

 

                axDeepView1.NodesSelectedEvent += new AxExploration3D.IDeepViewEvents_NodesSelectedEventHandler(axDeepView_NodesSelectedEvent);
            }
        }

 

        void SelectChildren(Node node)
        {
            if (node != null)
            {
                for (Node sibNode = node; sibNode != null; sibNode = sibNode.NextSibling)
                {
                    if (!sibNode.Selected)
                    {
                        try
                        {
                            sibNode.Selected = true;
                        }
                        catch (Exception ex)
                        {
                            System.Diagnostics.Debug.Print("Error:" + ex.Message);
                        }
                    }
                    SelectChildren(sibNode.FirstChild);
                }
            }
        }

3D Visual Enterprise for Lumira

$
0
0

Hello,

 

I am looking for informations on how to integrate the 3D Visual Enterprise Viewer in Lumira. There is a great video on youtube, which shows the functionality of the 3D Visual Enterprise Viewer in combination of Lumira and HANA related data.The video is called "Spatial Visualization in Lumira Leveraging Visual Enterprise - YouTube". That's exactly what I am looking for!

 

I have already searched the web, but I didn't find anything except this video.

 

Which version of Lumira do i need?

Which version of 3D Visual Enterprise Viewer is needed?

Is there any other software needed to combine 3D VEV with Lumira?

How do I install both programms?

 

I would really appreciate your help.

Thanks a lot.

 

Kind regards,

Christopher

Viewing all 40 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>