# Can I use Datasmith runtime import for .3dm file?

**URL:** <https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933>\
**Category:** International\
**Tags:** unreal-engine, Datasmith-Runtime\
**Created:** [February 5, 2023, 5:46am UTC](https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933 "2023-02-05T05:46:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![reallyarchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@reallyarchi](https://forums.unrealengine.com/u/reallyarchi)\
**Post date:** [February 5, 2023, 5:46am UTC](https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933/1 "2023-02-05T05:46:54Z")

</div>

Hi,

I want to make architecture software by using unreal engine.

and also want to make my clients import their source files into my service without any process like changing datasmith format.

so I need Datasmith Runtime import system. It is so cool but I found it supports only udatasmith, gltf format.

I already know 3dm files can be imported into UE without conversion.

how can I make Datasmith runtime import support 3dm(rhino) format?

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [February 6, 2023, 11:02am UTC](https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933/2 "2023-02-06T11:02:23Z")

</div>

No .3dm is not yet a supported format for CAD import at runtime.  
We, experimentally, support most CAD format (Catia, solidworks, JT, iges) but not .3dm

---

<div class="post-metadata">

**Author:** ![reallyarchi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@reallyarchi](https://forums.unrealengine.com/u/reallyarchi)\
**Post date:** [February 7, 2023, 8:59am UTC](https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933/3 "2023-02-07T08:59:33Z")

</div>

Thank you for the reply.

I have another question. Can I use Datasmith Runtime Import in android?  
I want to make AR application using this.

so I built CollabViewer Template project for android. but when I clicked ‘Datasmith command’ and +New button, It suddenly stopped and crashed.

Here is the log.

 ![20230207_175534](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/d/29dc0ddb147ab7ab4bc9dac9c83ab1f2c0c7e0d6.png)

> Blockquote  
> LogPlayLevel: Warning: 02-07 16:26:00.874 18574 18669 D UE : [2023.02.07-07.26.00:874][0]LogImageWrapper: Warning: PNG Warning: iCCP: known incorrect sRGB profile  
> LogPlayLevel: Warning: 02-07 16:26:00.874 18574 18669 D UE : [2023.02.07-07.26.00:874][0]LogImageWrapper: Warning: PNG Warning: iCCP: known incorrect sRGB profile  
> LogPlayLevel: Warning: 02-07 16:26:01.142 18574 18669 D UE : [2023.02.07-07.26.01:142][0]LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Plugins/Runtime/SunPosition/Resources/SunPosition.png’ error.  
> LogPlayLevel: Error: 02-07 16:26:01.183 18574 18724 D UE : [2023.02.07-07.26.01:183][0]LogStreaming: Error: Couldn’t find file for package /Script/DatasmithRuntime requested by async loading code. NameToLoad: /Script/DatasmithRuntime  
> LogPlayLevel: Error: 02-07 16:26:01.183 18574 18724 D UE : [2023.02.07-07.26.01:183][0]LogStreaming: Error: This will hitch streaming because it ends up searching the disk instead of finding the file in the pak file.  
> LogPlayLevel: Error: 02-07 16:26:01.183 18574 18724 D UE : [2023.02.07-07.26.01:183][0]LogStreaming: Error: Found 1 dependent packages…  
> LogPlayLevel: Error: 02-07 16:26:01.183 18574 18724 D UE : [2023.02.07-07.26.01:183][0]LogStreaming: Error: /Game/CollaborativeViewer/Blueprints/Commands/DataSmith/BP\_DataSmith\_Component  
> LogPlayLevel: Error: 02-07 16:26:01.247 18574 18724 D UE : [2023.02.07-07.26.01:247][0]LogProperty: Error: Struct type unknown for property ‘StructProperty /Game/CollaborativeViewer/Blueprints/Commands/DataSmith/UMG/DREndpointUI.DREndpointUI\_C:UpdateSources:CallFunc\_GetListOfSources\_ReturnValue.CallFunc\_GetListOfSources\_ReturnValue’; perhaps the USTRUCT() was renamed or deleted?  
> LogPlayLevel: Error: 02-07 16:26:01.247 18574 18724 D UE : [2023.02.07-07.26.01:247][0]LogProperty: Error: Struct type unknown for property ‘StructProperty /Game/CollaborativeViewer/Blueprints/Commands/DataSmith/UMG/DREndpointUI.DREndpointUI\_C:UpdateSources:CallFunc\_Array\_Get\_Item’; perhaps the USTRUCT() was renamed or deleted?  
> LogPlayLevel: Warning: 02-07 16:26:01.362 18574 18669 D UE : [2023.02.07-07.26.01:362][0]LogOnline: Warning: OSS: FOnlineSubsystemGooglePlayModule was disabled  
> LogPlayLevel: Warning: 02-07 16:26:11.801 18574 18669 D UE : [2023.02.07-07.26.11:801][3]LogScript: Warning: UGameplayStatics::BeginDeferredActorSpawnFromClass: can not spawn an actor from a NULL class  
> PackagingResults: Warning: The config file ‘Collab\_50/Config/config.ini’ will be staged, but is not explicitly allowed or denied. Add +WhitelistConfigFiles=Collab\_50/Config/config.ini or +BlacklistConfigFiles=Collab\_50/Config/config.ini to the [Staging] section of DefaultGame.ini

I expect It definitely failed, but don’t know why It said couldn’t file for package.

Have you any idea to fix this?

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [April 7, 2023, 1:15am UTC](https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933/4 "2023-04-07T01:15:05Z")

</div>

Are you sure about “runtime CAD” import other than udatasmith ? As I know problem was about extensions’ licenses. Is that exprimental support special to Epic’s usage or did something change at UE5.1 ?

Right now, I convert CAD files to .glb files at runtime with CAD Exchanger CLI and FGenericPlatformProcess::CreateProc(). After that I import them with gLTFRuntime

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [April 11, 2023, 10:56am UTC](https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933/5 "2023-04-11T10:56:36Z")

</div>

Maybe for the udatasmith file, but not for the CAD files as the CAD parsing libraries are not there for android.

---

<div class="post-metadata">

**Author:** ![UE\_FlavienP](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ue_flavienp/32/1194546_2.png) [@UE\_FlavienP](https://forums.unrealengine.com/u/UE_FlavienP)\
**Post date:** [April 11, 2023, 10:59am UTC](https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933/6 "2023-04-11T10:59:39Z")

</div>

Yes it is experimental (5.1 and 5.2) and you might have to jump a few hoops + I think material assignment is not working yet.

You need to use Interchange and Interchange datasmith plugins.

look at this thread

> [@How to use the new interchange pipeline to import meshes at runtime, packaged builds?](https://forums.unrealengine.com/t/how-to-use-the-new-interchange-pipeline-of-ue5-1-to-import-meshes-at-runtime-packaged-builds/714252):
>
> Hi everyone. I would like to use the new interchange pipeline plugin to import meshes at runtime in shipping builds, but I could not find any documentations or resources so far on the topic. I have tried it and made it to work in the editor, but in a packaged build, it is simply crashing, so i guess I may be missing something. Any help is appreciated. Thank you

and this doc

> **[Interchange temporary documentation (5.1\_5.2).pdf | Powered by Box](https://epicgames.ent.box.com/s/r6yhe2uzme1x6orisfwwqas0a3d6e6rk)**

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [April 12, 2023, 9:38am UTC](https://forums.unrealengine.com/t/can-i-use-datasmith-runtime-import-for-3dm-file/763933/8 "2023-04-12T09:38:44Z")

</div>

Currently I am using UE5.1.1 launcher version and I tried to import a step file with CAD import workflow.

I know that some problems fixed at 5.2 and there will be additional improvements when 5.2 finally released.

But there are some feature problems and also Dataprep have one of them, too.

1. I set `Anchor` on `MakeDatasmithInterchangeImportContext` but imported assets don’t come as children components. They come as `actors or static mesh actors`. So, I can’t create a hierarchy tree like Solidworks. This problem also occurs with Dataprep but doesn’t occurs when I use Datasmith Runtime Importer or gLTFRuntime import.

2. CAD hierarchy tree comes messy.  
If a static mesh component is a direct child of imported step’s root, it will be child of defined `Anchor on ImportContext` and visible at runtime.  
But grandchildren meshes (childrens of sub-assemblies) will be child of entirely different actor and they won’t be visible until I close my play session. I tried with another step file and even if a don’t set any anchor, problem continues.  
Especially this a real problem because we need sub-assemblies in CAD.

3. We don’t need every surface of parts as different static meshes in Unreal Engine. Each part should be a static mesh component and each assembly / group should be a scene component. Right now, even a `part` is an actor and gives surfaces as lots of static meshes. If this is a `feature`, at least we should be able to select it. Current sticthing options can’t solve that problem.

4. Inventor files freeze at `Importing` even if I use Async.

5. Some big step files (178 mb.) crash program.

6. There is no option to import them as dynamic and I can’t set them movable because imported meshes are not children components and hierarchy messy. So I can’t access all of them.

If UE5.2 solved these problems, it is perfect. Else, I can share my step files for additional research or create another topic or a bug report.

Step file’s hierarchy

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/2/d/42d309e6f96e1cef84c64755e9d6cde60adf603a.jpeg)

Runtime view (Imported meshes which are direct children of root are children of “BP\_Interchange”)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/5/db5b3218f2e0f0a0891d2e5166ad6f082d19ac0c.jpeg)

Closed View (Imported meshes which are children of subassemblies are children of an actor which created with step file’s name)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/7/6f7e0bcbb8b6d52710836ab778b80b661e4b66d7.jpeg)
