[v8i vba] inRoads SDK ,What function returns the alignment "state" value?

Hi,

I cannot find this value mentioned in the SDK (InRoads SDK help) anywhere, can you help me find it?

In ALG-files, each alignment (An alignment is basically a complexchain) can have a "state" value string set.
I know that because if I look in a LandXML file (an XML export of an ALG), there is a state value.

Since the LandXML files originate from microStation via inRoads/PowerCivil, the "state" value has to be there somewhere.

State as shown in LandXML:

<Application name="Bentley InRoads V8i (SELECTseries 2)" manufacturer="Bentley Systems, Inc." version="08.11.07.615" manufacturerURL="www.bentley.com" />
       <Alignments>
+            <Alignment name="XXX" length="2395.1086749" staStart="33592.6860545" desc="XXX" state="proposed">
              ...
              </Alignment>
       </Alignments>

State definition in LandXML:

<xs:simpleType name="stateType">
<xs:restriction base="xs:string">
<xs:enumeration value="abandoned" /> 
<xs:enumeration value="destroyed" /> 
<xs:enumeration value="existing" /> 
<xs:enumeration value="proposed" /> 
</xs:restriction>
</xs:simpleType>

I would assume that the SDK function to get alignment information would return the state string, but it doesn't:

scadSDK_cogoAlignmentInfoGet

            #include <SCadCogo.h>
            
            int scadSDK_cogoAlignmentInfoGet
            (
                wchar_t *name,      // (o) alignment name (size is ALGNAMSZ)
                wchar_t *desc,      // (o) alignment description (size is ALGDSCSZ)
                wchar_t *style,     // (o) alignment style (size is ALGFTRSZ)
                ALGalign *alg       // (i) pointer to alignment
            );
        
Description:  This function returns information about a particular alignment.  The strings must be large enough to hold the information.  If name, desc or style is set to NULL, it will be ignored and nothing will be returned for that parameter.
 
Returns:  Standard


Apologies if you would prefer this question in another forum.

Parents Reply Children
No Data