A2用3D做地图,如何设定路径
$d = gc mission.biedi # Read the incoming 3Deditor file$rows=@()
for ($i=0; $i -le $d.count -2; ++$i) {
if( $d[$i] -match "POSITION" ) {
$pos = $d[$i].Replace('POSITION="[', '').Replace(',',';').Replace(']";','').Replace(' ', '').trim()
if (($pos -split ';').count -eq 2) {$pos += ";0"}
$typ = $d[$i+1].Replace('TYPE=', '').Replace(';', '').Replace(' ', '').trim()
$ori = $d[$i+2].Replace('AZIMUT="', '').Replace('"', '').Replace('PARENT=;', '0;').Replace(' ', '').trim()
$rows += $("{0};{1};{2}" -f $typ,$pos,$ori)
}
}
$rows
sc -path ZGM_VisO_biediEX.csv -value $rows # Write output to a file.
(gc ZGM_VisO_biediEX.csv | select -Skip 1) | sc ZGM_VisO_biediEX.csv
上文中红色字体处路径有人知道如何设定吗,我用3d编辑器做地图,到这卡主啦,在线等,拜托啦,插件作者的pdf说明看了无数遍,也没搞定 虽不懂,但过来帮顶一下别沉了 曾经沧海 发表于 2014-5-13 19:06
虽不懂,但过来帮顶一下别沉了
谢谢你 tian 发表于 2014-5-14 13:02
谢谢你
兄弟自制地图学会了没,加Q私聊吧?498701682
页:
[1]