- Messages
- 1,635
- Country

Hey Arno, I am in the process of converting an old (very old), v2 scenProc script and update it for v3.3. In particular, the step CreateAGNLibObject. Looking for my past v2 scenProc manuals to compare changes to v3.3 but mnaybe you can interject. Was there ever a doc or thread that talked about the changes? I know... so long ago, ha! Here my issue, here is the old way I would write to create a library object (using a default P3D barn for example),
CreateAGNLibObj|FROMFILE=XX_ZZZZ_barn.shp;id=45|{2F95CE6A-FB34-4c6f-8D5D-64D1E1AC08ED}|45|0|0;0
The 45 in the |45|0|0:0 was the degree to turn the heading of the object by that many degrees. The "0|0:0I" part I cannot remember offhand without finding my old manuals and what the are referring to? So if I use the 3.3 version it appears the correct way to write the above step is:
CreateAGNLibObject|FROMFILE="XX_ZZZZ_barn.shp" AND id="45"|{2F95CE6A-FB34-4c6f-8D5D-64D1E1AC08ED} or as
CreateAGNLibObject|FROMFILE="XX_ZZZZ_barn.shp" AND id="45"|{2F95CE6A-FB34-4c6f-8D5D-64D1E1AC08ED}|45
My concern is I need to have in there the heading of the obect (and the last two variables if needed I think). But leaving those in at the end of the step results in an error messge only allowing 2-3 arguments.
Can you enlighten me? (of course anyone else that can shed light on this is most welecomed)
Marcus
CreateAGNLibObj|FROMFILE=XX_ZZZZ_barn.shp;id=45|{2F95CE6A-FB34-4c6f-8D5D-64D1E1AC08ED}|45|0|0;0
The 45 in the |45|0|0:0 was the degree to turn the heading of the object by that many degrees. The "0|0:0I" part I cannot remember offhand without finding my old manuals and what the are referring to? So if I use the 3.3 version it appears the correct way to write the above step is:
CreateAGNLibObject|FROMFILE="XX_ZZZZ_barn.shp" AND id="45"|{2F95CE6A-FB34-4c6f-8D5D-64D1E1AC08ED} or as
CreateAGNLibObject|FROMFILE="XX_ZZZZ_barn.shp" AND id="45"|{2F95CE6A-FB34-4c6f-8D5D-64D1E1AC08ED}|45
My concern is I need to have in there the heading of the obect (and the last two variables if needed I think). But leaving those in at the end of the step results in an error messge only allowing 2-3 arguments.
Can you enlighten me? (of course anyone else that can shed light on this is most welecomed)
Marcus
