[mapguide-users] Modifying SymbolDefinition programmatically

2009-05-13 Thread psciga
Hello, can you tell me please, how to modify the symbol definition with php? Following background: In AutoCAD I have several hundred blocks. The import into MGOS 2 via MG Studio 2009 works fine. The once problem is, that the parameter for ROTATION have a DefaultValue = 0. This default value I

Re: [mapguide-users] Modifying SymbolDefinition programmatically

2009-05-13 Thread Jackie Ng
I don't know much about Symbol Definitions, but all resources in mapguide (including Symbol Definitions) are XML data. So you could use the Resource Service APIs to get the resource content, edit the xml content (with your XML access library/api of choice) and save back the changes. This can be

Re: [mapguide-users] Modifying SymbolDefinition programmatically

2009-05-13 Thread psciga
Jackie, thank you very much:jumping:! The following code runs, but with one exception. I'm loosing the formatting in XML viewer. Maybe somone have the same problem, here a code snippet. It replaces the Default Value for ROTATION parameter with a database field Winkel. I know, it's very