Page 1 of 1

Error: "Type mismatch" (#13) when producing BGL file

Posted: Wed Apr 13, 2011 11:08 am
by upnaway
Dear folks,
For some time I've been using SBuilderX for scenery design for FSX.
Now I'd like to make some airports available for FS9. Hence I need to exclude Autogen and define landclass with SBuilder for FS9.

I've downloaded the package with v2.05 rev 6 and SCASM.exe
I run the exe with Admin-Rights without any trouble.
But when I try to convert my definitions into BGL the runtime error #13 occurs and Sbuilder terminates.

I've changed the regional scheme from German to English (UK), changed the keyboard layout, rebootet, started again SBuilder, re-installed SBuilder, created a new SBP file and so on. But nothing helped.

Obviously the regional settings switch correctly. I can verify that by using the measure tool.
It shows "1355,00 M" format or "1355.00 M", depending on the setting.

Any idea, what to try else?
Do I need any further modules apart from that, delivered with the package?
Is there a need to define paths?

Sorry for the possibly silly questions but I am completely unexperienced with FS9 design.


Maybe for the moment it would help, if someone could be so kind to translate the SBP file into BGL for me.
This allows me to finalize my airport.


Greets
Michael

Win7 x64
SBuilder 2.05 rev. 6
FSX SP2
FS9 SP1

Re: Error: "Type mismatch" (#13) when producing BGL file

Posted: Wed Apr 13, 2011 2:21 pm
by rhumbaflappy
Runtime error #13 is a Visual Basic v6 error code signifying a type mismatch.

These would be difficult to find without having an SBX file, which you could zip and attach to a post.

But, a guess is that your project or file names might include a space. Sometimes that can mess things up.

Dick

Re: Error: "Type mismatch" (#13) when producing BGL file

Posted: Wed Apr 13, 2011 10:21 pm
by upnaway
Dick,
Many thanks for your instant answer!

Sorry, but I don't really get, what SBX-file you mean :oops:
Do you talk about the SBP file?

Attached you'll find my SBP file.

Re: Error: "Type mismatch" (#13) when producing BGL file

Posted: Thu Apr 14, 2011 2:31 am
by meshman
upnaway wrote:Sorry, but I don't really get, what SBX-file you mean :oops:
Do you talk about the SBP file?
An .SBP file is the standard SBuilder(X) project file, whereas you can export an .SBX file, which is in plain text and easily read by Notepad, etc.

Re: Error: "Type mismatch" (#13) when producing BGL file

Posted: Thu Apr 14, 2011 7:30 am
by upnaway
now ;)

Re: Error: "Type mismatch" (#13) when producing BGL file

Posted: Thu Apr 14, 2011 6:34 pm
by rhumbaflappy
Hi upanaway.

Right-click the polygon in SBuilder9, and select properties. On the VTP2 tab, look at the VTP Layer box... it reads 'AB' but SBuilder9 needs a number ( try 4 ). Then it will compile.

Dick

Re: Error: "Type mismatch" (#13) when producing BGL file

Posted: Thu Apr 14, 2011 10:50 pm
by upnaway
Hi Dick,
Wow - that's it!! Great!
Now it's proven what a n00b I am to FS9... :roll:

I've got the info from a forum, where the layers were described by two letters: AB, AP, BR, ...
Only a few of them had numbers.

Many thanks for the instant help!!


Michael

Re: Error: "Type mismatch" (#13) when producing BGL file

Posted: Fri Apr 15, 2011 1:21 am
by rhumbaflappy
I think the default Airport Backgrounds are layer 7, but layer 4 seems to make more sense to me, as it allows other VTPs to go over the backgrounds... others might use 7.

The SBuilder9 help file has some info on this.

Dick