成员De的属性输出
因此,我试图从AutoCAD中创建一个链接或可读输出,以导入到我的设计软件中。下面是软件读取典型光束输出的代码片段。我的目标是能够为动态梁块定义以下任何属性,并使其输出一个可读文件,该软件可以导入该文件,以便我可以完成我的设计。这可行吗?哪种编码语言最适合使用?应用程序或插件是一种选择吗?
谢谢你的帮助!
<Member>
<Name>HDR-1</Name>
<Type>Roof Beam</Type>
<BuildingCode>2015 International Building Code</BuildingCode>
<Notes>
</Notes>
<Version>10.0.1.6</Version>
<Sort>0</Sort>
<SteelCode>AISC 14th Ed ASD</SteelCode>
<WoodCode>2015</WoodCode>
<Material>Solid Sawn</Material>
<Species>Douglas-Fir-Larch</Species>
<Grade>#2</Grade>
<FlatUse>False</FlatUse>
<WetDry>Dry</WetDry>
<MemberNumber>1</MemberNumber>
<Width>3.5</Width>
<Depth>7.25</Depth>
<Round>False</Round>
<RoundDia />
<NotchDepth>0</NotchDepth>
<LiveLoadDeflection>240</LiveLoadDeflection>
<TotalLoadDeflection>180</TotalLoadDeflection>
<DurationFactor>1.15</DurationFactor>
<CamberDurationFactor>0</CamberDurationFactor>
<IncisingFactor>False</IncisingFactor>
<SteelGrade />
<SteelLeg />
<BendingCoefficient />
<FlitchPlate>False</FlitchPlate>
<FlitchPlateWidth />
<FlitchPlateNum />
<Snow>True</Snow>
<SnowMethod>0</SnowMethod>
<SpanLength>10</SpanLength>
<UnbracedLengthTop>0</UnbracedLengthTop>
<UnbracedLengthBottom>0</UnbracedLengthBottom>
<RoofPitch>4</RoofPitch>
<BeamEndElevationDifference>0</BeamEndElevationDifference>
<RoofLiveLoadSideOne>25</RoofLiveLoadSideOne>
<RoofLiveLoadSideTwo>25</RoofLiveLoadSideTwo>
<RoofDeadLoadSideOne>15</RoofDeadLoadSideOne>
<RoofDeadLoadSideTwo>15</RoofDeadLoadSideTwo>
<TributaryWidthSideOne>2</TributaryWidthSideOne>
<TributaryWidthSideTwo>2</TributaryWidthSideTwo>
<WallLoad>0</WallLoad>
<CenterPointLoadOneLL>0</CenterPointLoadOneLL>
<CenterPointLoadOneDL>0</CenterPointLoadOneDL>
<CenterPointLoadOneLocation>0</CenterPointLoadOneLocation>
<CenterPointLoadTwoLL>0</CenterPointLoadTwoLL>
<CenterPointLoadTwoDL>0</CenterPointLoadTwoDL>
<CenterPointLoadTwoLocation>0</CenterPointLoadTwoLocation>
<CenterPointLoadThreeLL>0</CenterPointLoadThreeLL>
<CenterPointLoadThreeDL>0</CenterPointLoadThreeDL>
<CenterPointLoadThreeLocation>0</CenterPointLoadThreeLocation>
<ReactionsALive>500</ReactionsALive>
<ReactionsADead>344</ReactionsADead>
<ReactionsBLive>500</ReactionsBLive>
<ReactionsBDead>344</ReactionsBDead>
<LoadTransfers />
</Member> 是可行的,lisp,vba将编写一个txt文件/xml
那么坏的部分是编写xml的自定义例程,可能很容易,这取决于您的“BEAM”
没有图纸,所以不知道。
Write-line (strcat "<Version>" ver "</Version>") fo)
Write-line (strcat "<Sort>" sort "</Sort>") fo)
Write-line (strcat "<SteelCode>" AISCver "</SteelCode>") fo) and so on
<WoodCode>2015</WoodCode>
<Material>Solid Sawn</Material>
<Species>Douglas-Fir-Larch</Species>
<Grade>#2</Grade>
<FlatUse>False</FlatUse>
<WetDry>Dry</WetDry>
<MemberNumber>1</MemberNumber>
<Width>3.5</Width>
<Depth>7.25</Depth>
<Round>False</Round>
页:
[1]