docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ImportCSV

    Inheritance
    object
    ImportCSV
    Implements
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Industrial.Configurator.Importers.csv.Editor
    Assembly: solution.dll
    Syntax
    [ConfiguratorImporter]
    public class ImportCSV : IDisposable

    Fields

    Name Description
    importFolder

    A static reference to the filesystem folder that contains the CSV file and supporting data.

    productPrefab

    A static reference to the Product Prefab that is actively being configured in the PrefabStage.

    Methods

    Name Description
    CanImport(string)

    Determines whether this instance can import the specified path.

    Dispose()

    Ensured that prefab workflow is completed properly as long as this class is instantiated in a using statement.

    using (var csvImporter = new ImportCSV())
    ImportCSV.ImportAndConfigure(path);

    ImportAndConfigure(string)

    Imports the CAD Data and then applies the Configuration as defined in the supplied CSV file.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)