Exemplo n.º 1
0
 private SwComponentConfiguration(IConfiguration conf, SwDocument3D doc, ISwApplication app, string name)
     : base(conf, doc, app, conf != null)
 {
     if (conf == null)
     {
         Name = name;
     }
 }
Exemplo n.º 2
0
        internal SwConfigurationEnumerator(ISldWorks app, SwDocument3D doc)
        {
            m_App = app;
            m_Doc = doc;

            m_CurConfIndex = -1;
            m_ConfNames    = (string[])m_Doc.Model.GetConfigurationNames();
        }
Exemplo n.º 3
0
        internal SwConfiguration(IConfiguration conf, SwDocument3D doc, ISwApplication app, bool created) : base(conf, doc, app)
        {
            m_Doc = doc;

            m_Creator = new ElementCreator <IConfiguration>(Create, conf, created);

            m_PropertiesLazy = new Lazy <ISwCustomPropertiesCollection>(
                () => new SwConfigurationCustomPropertiesCollection(Name, m_Doc, OwnerApplication));
        }
Exemplo n.º 4
0
        internal SwConfiguration(SwDocument3D doc, IConfiguration conf, bool created) : base(conf)
        {
            m_Doc = doc;

            m_Creator = new ElementCreator <IConfiguration>(Create, conf, created);

            m_PropertiesLazy = new Lazy <ISwCustomPropertiesCollection>(
                () => new SwConfigurationCustomPropertiesCollection(m_Doc, Name));
        }
Exemplo n.º 5
0
 internal SwConfigurationCollection(ISldWorks app, SwDocument3D doc)
 {
     m_App = app;
     m_Doc = doc;
     m_ConfigurationActivatedEventsHandler = new ConfigurationActivatedEventsHandler(doc);
 }