美文网首页
初探结构元件数据文件

初探结构元件数据文件

作者: 次元碎片 | 来源:发表于2016-08-08 15:58 被阅读0次

    1. 数据库文件

    C:\AutoCAD Plant 3D 2015 Content\CPak Common\Structural Catalog.acat

    2. 使用软件

    SQLite Expert Personal

    打开如下:


    获取 GUID,我用到的是一个在线工具:

    在线 GUID 生成

    3. 编号?

    认为所有的数据都有唯一的编号,这个编号在PnPBase里,所以先在这里新建数据。

    PnPBase 表中的几个关键字段:PnPClassName, PnPGuid, PnPTimestamp

    ClassName 从现有数据来看包括:Material, MaterialinStandard, Plate Thichness, SDNFMap, ShapeData, ShapeinStandard, ShapeType, ShapeStandard

    GUID 用在线工具生成,Timestamp 这个时间戳没看懂,拷贝了一个最大的加了一点点。

    4. 试一试

    a. 在 PnPBase 为 ShapeStandard, ShapeinStandard, ShapeType,

    b. 在 SteelStructure 增加相同数量的记录;

    c. ShapeStandard 表增加: StandardGlobalName = GB_STANDARD, StandardLocalName = GB, StandardDescription = GB, PnPID 与 PnPBase 保持一致;

    d. ShapeinStandard 表,为 StandardGlobalName = GB_STANDARD 增加一个 PartFamilyId,没看出什么规律 新建了一个 GUID 填进去了,还是注意与 PnPBase 数据保持一致;

    e. ShapeType 表,用 ShapeinStandard 中的 PartFamilyId 新建一个类别,类别描述和 ShapeFormNumber 没看懂规律,拷贝了一份,PnPBase~~;

    f. ShapeData 表:

    PnPID 来自 PnPBase;

    SizeRecordId 新的 GUID;

    ParrtFamilyId 来自 ShapeinStandard;

    其余数据从一行现有数据中拷贝出来的。

    去 Member Settings 看看:

    相关文章

      网友评论

          本文标题:初探结构元件数据文件

          本文链接:https://www.haomeiwen.com/subject/mkjrsttx.html