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

            m_CurConfIndex = -1;
            m_ConfNames    = (string[])m_Doc.Model.GetConfigurationNames();
        }
示例#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));
        }
        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));
        }
示例#5
0
 internal SwConfigurationCollection(ISldWorks app, SwDocument3D doc)
 {
     m_App = app;
     m_Doc = doc;
     m_ConfigurationActivatedEventsHandler = new ConfigurationActivatedEventsHandler(doc);
 }