IsoAlgo --- Component Definition

简介: IsoAlgo --- Component Definition eryar@163.com   Keywords: PCF Component Definition, ISOGEN® PCF Component Reference Guide   一、PCF  Component Definiti...

IsoAlgo --- Component Definition

eryar@163.com

 

Keywords: PCF Component Definition, ISOGEN® PCF Component Reference Guide

 

一、PCF  Component Definition

The component definition file defines the layout of the component definition in the PCF file. The contents of the file is documneted in the “PCF Component Reference Guide” and defines which items are obligatory in the output,  and which items are optional.

There must be at least two sections in a definition file: [Component Identifier] and [Mandatory Attributes]. The first gives the name of the ISOGEN® component, the second the data required to process the component properly.

Additional sections define attributes that can be added the component definition. These are only added to the definition if corresponding properties are gived.

The Component Identifier section can contain only 1 line, the mandatory section not more than 12 lines.

Example component definition file for pipe:

image

Figure 1 Example component definition file for pipe

 

Example component definition file for normal elbow:

image

Figure 2 Example component defintion file for normal elbow

 

二、读取PCF文件

 

从PCF Component definition中可以看出,PCF文件中管子部件中哪些数据是必须的,哪些数据是可选的。

必须的属性数据一定要有,不然出来的轴测图可能是不正确的。可选的属性大多是一些额外标记的文件信息等。

部件数据的读取可以将[Component Identifier]作为界限,来读取每个部件的属性数据。

如下图所示为一个Elbow在PCF文件中表示:

image

 

三、Aknowledgements

ISOGEN® is the registered trademark of ICI plc.

CADDS is the registered trademark of PTC(Parameteric Technology Corporation)

The following Alias documents are used preparing the software:

PCF Format Guide

PCF Component Reference Guide

ISOGEN® SKEY Definitions

ISOGEN® SKEY Dimensions

目录
相关文章
|
8月前
|
JavaScript
解决报错did you register the component correctly? For recursive components, make sure to provide the “na
解决报错did you register the component correctly? For recursive components, make sure to provide the “na
Unknown custom element: <add-employee> - did you register the component correctly? For red cursive c
原因: 1.组件名没写对(导入和注册不对应) 2.components少写了个s 3.组件命名最好是驼峰命名 4.导入时语法错误 5.代码中有两个components,后一个的值把前一个覆盖了 6.组件直接循环套用了
104 0
|
8月前
|
JavaScript
[Vue warn]: Method “components“ has type “object“ in the component definition. Did you reference the
[Vue warn]: Method “components“ has type “object“ in the component definition. Did you reference the
|
JavaScript
[Vue warn]: Unknown custom element: <Top> - did you register the component correctly?
[Vue warn]: Unknown custom element: <Top> - did you register the component correctly?
|
Android开发
<interface declaration>, <parcelable declaration>, AidlTokenType.import or AidlTokenType.package ...
<interface declaration>, <parcelable declaration>, AidlTokenType.import or AidlTokenType.package ...
90 0
<interface declaration>, <parcelable declaration>, AidlTokenType.import or AidlTokenType.package ...
|
Web App开发 Java
conflicts with existing, non-compatible bean definition of same name and class
使用 Idea CE 创建的 Maven Web 项目,启动时却输出以下错误: Connected to the target VM, address: '127.0.0.1:52165', transport: 'socket'  .
2251 0
|
JavaScript
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-
|
JavaScript
void mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property b
void mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: vue项目示例,请参考甄佰 单向数据流所有的 prop 都使得其父子 prop 之间形成了一个单向下行绑定:父级 prop 的更新会向下流动到子组件中,但是反过来则不行。
3427 0

热门文章

最新文章