Configuration Handling - SolidWorks 配置管理-SolidWorks
Introduction -简介
Companies working with SolidWorks use configurations for different purpose.利用SolidWorks工作的公司使用配置为了不同的目标:
One purpose is to have alternate genmetric representations for the same part for use in assemblies , like an expanded or collapsed spring. From PLM point of view , there is no need to store a Design object for each representation in PLM .
一个目标是在一个装配体中拥有可替代的相同的部件,就像展开和缩进。从PLM 的角度看,为每个代表保存一个设计对象是没有必要的。
The second purpose is to create parametrized designs that drive dimensions , features or structures through configurations . From PLM point of view each of these configruations represents a separate part and therefore needs s separate Design object in PLM .
第二个目标是使用配置来建立参数化的设计驱动尺寸、特征或者结构。从PLM的角度看,这些配置中的每个代表一个独立的物件所以需要独立的设计对象在PLM中。
Functionality Overview 功能概览
By default the SolidWorks integration creates a Design object for each configuration in PLM if there is more than one configuration defined inside the SolidWorks file . In order to support the different usages of configurations , the SolidWorks connector introduces two parameters that control the representation of each configuration in PLM .
默认情况下SolidWorks集成为每个配置创建一个设计对象到PLM如果在SolidWorks文件中 定义了多于一个的配置。为了支持配置的不同用途,SolidWorks连接器提供了两个参数控制每个在PLM中的配置的代表。
One parameter is a standard parameter , which is a general switch for all contained configruations in the solidWorks part . By default the parameter "Configured" is read . If this parameter is set to "No" then no Design objects are created for any of the configurations.
一个参数是一个标准的参数,通用的开关为所有的SolidWorks物件中包含配置的。默认情况下参数“Configured”被读取,如果参数被设置为"No",那么不会为任何配置创建设计对象。
An additional configuration specific parameter can link a specific configuration to a master configuration in the same part . Only for the master configurations a PLM object is created , all linked configurations are referenced to the master configuration. By default the configuration specific parameter "MasterConfig" is read . If this paramter is set and references an existing configuration in the same part , the references master configuration is used in PLM . Otherwise a separate Design object is created for the configuration in PLM. This supports the useage of having some alternate representations and real representations mixed within one configuration table .
另外一个配置参数可以链接一个r特别的配置为主配置在一个相同的物件。只有主配置会被创建到PLM中。所有被链接的配置都被引用到主配置。默认情况下,"MasterConfig"参数 被读取。如果这个参数被设置并 且在相同的物件中引用了一个存在的配置,这个引用的主配置在PLM中被使用。否则在PLM 中单独创建一个设计对象为这个配置。这种功能支持了在一个配置表中有备用代表和真实的代表混合方式。
The SolidWorks property names that control the behavior are configurable in XPlmSolidWorksConnector.xml
<Field>
<Name>ConfiguredProperty</Name>
<Value>Configured</Value>
<!--default is "Configured"-->
</Field>
<Field>
<Name>MasterConfigureProperty</Name>
<Value>MsterConfig</Value>
<!--default is "MasterConfig" -->
</Field>
Sample Configuration Handling
The assembly contains two configurations of the same part . Each configuration is represented with a Design object in PLM.
装配体包括两个相同物件的配置。每个配置代表一个PLM中的设计对象。
During save the configuration specific properties are filled in .
The structure in PLM looks like this .
Sample Master Configuration
The assembly contains two configurations of the same part . One configuration is linked to the other configuration using the configuration specific property MasterConfig . The example below links the configuration "thick" to "thin".
During save the two configurations are treated as one object . Only the master configuration (thin) is created in PLM . The save preview is showing only the master configurations.
The structure in PLM looks like this and sums up the quantity fo "thick" and "thin"