Runtime Error 13 'Type Mismatch' when importing SBX file

General discussion about Scenery Design. Questions about SBuilder for Flight Simulator FS2004.
User avatar
Leo2789
Posts: 45
Joined: Wed Oct 04, 2017 11:32 am
Location: Portugal

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Leo2789 » Fri Feb 23, 2018 7:17 pm

Hey Gary,

I attached all relevant files in a zip file. I trust you'll know which files are the poyls, coastline, WC & LC ;)
To see which island has the coastline I made (and to know which one to look for in the sim) just import the VTP bgl, it's one of the ones in the bottom ;)
Also one of the files is a default file which needs to be replaces in FS9>Scenery>Ocen>scenery (it's the HP902350_Edit.bgl)

Also I included an AFCAD file which is a simple water runway I created for easy access in the sim from the airport selection menu! ICAO code NK00 ;)

Thanks for the help!

Leonardo
Attachments
Tokelau 2.zip
(8.21 KiB) Downloaded 2875 times

User avatar
Luis Sa
Posts: 1736
Joined: Sun May 18, 2003 11:17 am
Location: Portugal
Contact:

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Luis Sa » Sat Feb 24, 2018 1:06 am

Hello,

About that converter tool here is the code that exports to the old format (SB205):

Code: Select all

        For N = 1 To NoOfLines
            PrintLine(FN)
            KEY = "[Line." & Trim(Str(N)) & "]"
            PrintLine(FN, KEY)
            PrintLine(FN, "Name=" & Lines(N).Name)
            PrintLine(FN, "Type= ")
            'PrintLine(FN, "Guid=" & Lines(N).Guid)
            PrintLine(FN, "Color=" & IntegerFromColor(Lines(N).Color))
            PrintLine(FN, "NoOfPoints=" & Str(Lines(N).NoOfPoints))
            For M = 1 To Lines(N).NoOfPoints
                PrintLine(FN, "Lat" & Trim(Str(M)) & "=" & Str(Lines(N).GLPoints(M).lat))
                PrintLine(FN, "Lon" & Trim(Str(M)) & "=" & Str(Lines(N).GLPoints(M).lon))
                'PrintLine(FN, "Alt" & M & "=" & Str(Lines(N).GLPoints(M).alt))
                PrintLine(FN, "Wid" & M & "=" & Str(Lines(N).GLPoints(M).wid))
            Next M
        Next N

        For N = 1 To NoOfPolys
            PrintLine(FN)
            KEY = "[Poly." & Trim(Str(N)) & "]"
            PrintLine(FN, KEY)
            PrintLine(FN, "Name=" & Polys(N).Name)
            PrintLine(FN, "Type=")
            ' PrintLine(FN, "Guid=" & Polys(N).Guid)
            PrintLine(FN, "Color=" & IntegerFromColor(Polys(N).Color))
            'PrintLine(FN, "NoOfChilds=" & CStr(Polys(N).NoOfChilds))
            'For M = 1 To Polys(N).NoOfChilds
            '    PrintLine(FN, "Child" & Trim(Str(M)) & "=" & Str(Polys(N).Childs(M)))
            'Next M
            PrintLine(FN, "NoOfPoints=" & Str(Polys(N).NoOfPoints))
            For M = 1 To Polys(N).NoOfPoints
                PrintLine(FN, "Lat" & Trim(Str(M)) & "=" & Str(Polys(N).GPoints(M).lat))
                PrintLine(FN, "Lon" & Trim(Str(M)) & "=" & Str(Polys(N).GPoints(M).lon))
                PrintLine(FN, "Alt" & Trim(Str(M)) & "=" & Str(Polys(N).GPoints(M).alt))
            Next M
        Next N
Lines that start with ' are comments and they contain what can not be exported. In Lines for example you have:

'PrintLine(FN, "Guid=" & Lines(N).Guid)

meaning that Guid is not exported as SB205 does not know anything about Guid! Also in Polys you will note that every poly, being a parent or a child (hole) is exported as parent as SB205 does not know about parents and sons! But all polys and lines will appear in SB205. The problem will be to edit outside SBuilder with some text editor. That could be a enormous task, I may admit!

Regards, Luis

User avatar
Leo2789
Posts: 45
Joined: Wed Oct 04, 2017 11:32 am
Location: Portugal

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Leo2789 » Sat Feb 24, 2018 1:46 am

Hey Luis,

Hmm I see, but, the same line that crashes my SBuilder205 (with the error 5) when I try to edit it, can be edited for example in a text editor when in SBX file format? Assuming I'd know exactly what I was doing of course :lol:
Because if so that might actually be something I'd be up for, my current and future projects don't anticipate a huuuuge amount of lines in them, nothing like PTTerrain definitely haha, so that might be a solution for me!

!EDIT!: It worked! I tried doing exactly what I said above and the VTP line now can be edited freely in SBuilder205! :)

Now all I have to understand is why aren't the coastlines appearing in the sim :| :?:

Leonardo

GaryGB
Posts: 120
Joined: Sun Jul 01, 2007 5:04 pm
Location: USA

Runtime Error 13 'Type Mismatch' when importing SBX file

Post by GaryGB » Sun Feb 25, 2018 11:15 pm

Hi Leo:

I have just returned from my travels earlier this weekend, and am looking at your "Tokelau2" file set above.

I will need to refresh my memory on a few points pertaining to the FS9 scenery creation process to verify my hypotheses, but to assist in the analysis process, I would like to request that you please attach or link to:

* SBuilderX315 original "Tokelau2" project that was 'exported' as a SBuilderX315 format *.SBX file

* SBuilderX315 original "Tokelau2" project 'converted' via SBX3TO2 to a SBuilder205-compatible *.SBX file


IIUC, some or all of the files I am looking at in SBuilder205 have been previously created in SBuilderX315, then:

1.) The SBuilderX315 project was 'exported' as a SBuilderX315 format *.SBX file

2.) The SBuilderX315 *.SBX file was 'converted' via SBX3TO2 to a SBuilder205-compatible *.SBX file

3.) The SBX3TO2 ouput SBuilder205-compatible *.SBX file was 'imported' to SBuilder205


FYI: In SBuilder205 with the "NUKUNONU_COAST_VTPL.BGL" Appended:

SBuilder205 Menu > View > Display Grid > Grid LOD-13 shows the shoreline does not "clip" at LOD-13 Area quad borders

A related and perhaps causative issue is that the poly-line intersects itself (this is to be avoided with FS vectors) :!:


NOTE: This may also be seen in detail by loading "NUKUNONU_COAST_VTPL.BGL" into FS9 or FSX SDK TMFViewer.exe


CAVEAT: FS9 requires all legacy format vector LWM polys "clip" to local objects at LOD-13 "Area" quad borders

IIRC, FS9 requires all legacy format vector VTP poly-lines also "clip" to local objects at LOD-13 "Area" quad borders


CAVEAT: FS9 requires all legacy format vector VTP polys "clip" to local objects at LOD-8 quad borders


To help explain FS9 vector shorelines not being segmented/clipped properly during processing / BGL compilation, see:

http://www.ptsim.com/forum/viewtopic.ph ... 01dd62ffb9

Luis Sa wrote:
Mon Jun 27, 2005 5:44 am
http://www.ptsim.com/forum/viewtopic.php?f=18&t=446


Hi Vhalan,

If the polygons intersect themselves, then it is almost sure that SBuilder will not be able to cut the polygon correctly along LOD13 lines!

Regards, Luis

I shall await your further reply with the files requested when you are able to post them. :)

GaryGB
Last edited by GaryGB on Mon Feb 26, 2018 4:35 am, edited 8 times in total.

GaryGB
Posts: 120
Joined: Sun Jul 01, 2007 5:04 pm
Location: USA

Runtime Error 13 'Type Mismatch' when importing SBX file

Post by GaryGB » Sun Feb 25, 2018 11:39 pm

Hi Leo:

For more detail on legacy FS2Kx scenery creation, you may also wish to review:


Ground2K for Beginners - by Luis Feliz-Tirado

File Description:

Newly revised for Ground2K version 4

https://library.avsim.net/esearch.php?C ... DLID=33724


For more detail on this process and associated caveats for legacy FS2Kx scenery, you may wish to review:

Code: Select all

https://www.google.com/search?q=SBuilder+cut+LOD-13+site:www.ptsim.com&sa=X&ved=0ahUKEwjmsffrlcLZAhVK44MKHeOpA6oQrQIIMigEMAA&biw=1173&bih=588

Some pertinent tutorials on working with SBuilder for FS9 (aka "SB205") copied from my post at FSDeveloper.com:
GaryGB, post: 117822, member: 995 wrote:
https://www.fsdeveloper.com/forum/threa ... ost-117822

Although I mostly use ADE9X in either the FS9 or FSX mode to centralize my FS scenery projects, many folks are more familiar with SBuilder, and prefer that work environment; as an FS2004 user, you may wish to check out some of these excellent references on SBuilder for FS9. :idea:


Some links which may be relevant to your learning process and more complete use of SBuilder for FS9: :teacher:


Beginner's Guide to Scenery Design

http://forums1.avsim.net/index.php?showtopic=79553


SBuilder 205 revision 06 for FS2004 (FS9) full install ... not to be confused with SBuilderX 3.13 (SBX) for FSX:

http://www.fsdeveloper.com/forum/resour ... ilder.100/

...or:

http://library.avsim.net/esearch.php?Ca ... LID=138252

...or:

http://www.ptsim.com/forum/viewtopic.php?f=18&t=1616



If updating an older version of SBuilder, see Jay Langham's "Unified Theory" of the SBuilder install: (...originally one of many excellent Tutorials at: scenery.org before it went off-line)

Code: Select all

http://webcache.googleusercontent.com/search?q=cache:55FZxFCt-kcJ:www.terra-brasilis.org/teste/doc_download/21-scruffyduck-scenery-installing-sbuilder &cd=1&hl=en&ct=clnk&gl=us

SBuilder for FS9 (SB205) Support Forum(s) at PTSim:

http://www.ptsim.com/forum/forum.asp?FORUM_ID=18


SBuilder Support Forum(s) at FSDeveloper:

http://www.fsdeveloper.com/forum/forumdisplay.php?f=33


Scott Smart Tutorial - "Airport Terrain Modification with SBuilder":

http://library.avsim.net/esearch.php?Ca ... DLID=83202


Jon Masterson aka "Scruffyduck" Tutorial - "Making FS9 Object Libraries available in SBuilder"

http://library.avsim.net/download.php?DLID=78942


Jon Masterson aka "Scruffyduck" Tutorial - "Placing 3d Objects using SBuilder"

http://library.avsim.net/esearch.php?Ca ... DLID=78128


Jon Masterson aka "Scruffyduck" Tutorial - "Working with Textured Polygons in SBuilder"

http://library.avsim.net/esearch.php?Ca ... DLID=77980


Jon Masterson aka "Scruffyduck" Tutorial - "Modify Landclass and Add Roads with SBuilder"

http://library.avsim.net/esearch.php?Ca ... DLID=77822


Luis Féliz-Tirado - "Fences and Walls for SBuilder":

http://library.avsim.net/esearch.php?Ca ... DLID=70297


Dick Ludowise aka "rhumbaflappy" uses a combination of the FireFox web-browser and the freeware version of the FireShot plugin with with Luis Sa's SBuilder Manifold Toolbar to capture online imagery tiles as background maps in SBuilder:

http://www.fsdeveloper.com/forum/showth ... ht=firefox

http://screenshot-program.com/fireshot/

https://addons.mozilla.org/en-US/firefox/addon/5648

http://www.ptsim.com/sbuilder/gmaps.htm


Also see Dick's extended version of GMaps named "RhumbaMaps":

http://www.ludowise.x10host.com/gmaps/rhumbamaps.html




Luis Féliz-Tirado - "Man2SBuilder v1.0" "These small and simple to use utilities will rename image tiles downloaded from Google Earth and Microsoft Virtual Earth using the Manifold tool bar so that they can be displayed with the latest version of SBuilder X".

http://library.avsim.net/esearch.php?Ca ... LID=148805


Procedural UPDATE:

When the "FireShot" plug-in for Firefox is used in combination with Rhumbaflappy's "RhumbaMaps" (...now renamed to "Exploring Google Maps" ?), one can get geo-referencing info with aerial imagery comparable to Luis' "GMAPS" (which replaces the procedures using the 'Manifold toolbar' :

http://www.fsdeveloper.com/forum/thread ... ost-673134



Scott Gridley's Tutorial for Calibrating Google Earth Maps as background images for use in SBuilder:

http://www.fs-freeflow.com/forum2/index.php?topic=618.0


Scott Gridley's Tutorials for SBuilder (compiled into a PDF file):

http://fs-freeflow.com/files/SBuilderTutorials.zip


Jim Keir's LWMViewer Utility version 1.x (can output BMP of FS9 scenery with world file for use as background image in SBuilder; see ReadMe "Saving BMP files"):

http://www.jimkeir.co.uk/FlightSim/LWMViewer.html


Jim Keir's LWMViewer2 Utility: "LWMViewer2 is an almost complete re-write of V1.x which now provides a full, 3D, realtime display environment which tries to get close to the final display of FlightSim 2004. It also allows landclass and waterclass editing and object placement including modification of the default objects provided with FS2004, again all in realtime." (can also output BMP of FS9 scenery with world file for use as background image in SBuilder; see ReadMe "Saving BMP files"):

http://www.jimkeir.co.uk/FlightSim/LWMViewer2.html


Editing a default airport flatten with SBuilder:

http://www.fsdeveloper.com/forum/showthread.php?t=1657


Removing vestigial flattens in coastal areas with SBuilder:

http://www.fsdeveloper.com/forum/showthread.php?t=6792


Jeffrey Stanyer Tutorial - "Creating an Island with SBuilder V1.06a"

http://ptsim.com/downloads/islandtutorial.pdf


(NOTE: This tutorial was also included in some later installation packages of SBuilder for FS9)



Miscellaneous files listed in AVSIM's download library pertinent to SBuilder for FS9:

http://library.avsim.net/search.php?Cat ... &Go=Change View



PS: I recommend creating a \Help sub-folder under the main SBuilder for FS9 folder chain, and save a copy of the above web pages and tutorials into that folder, then create a shortcut or link (*.lnk) file to them in the Windows Programs menu "SBuilder for FS9" entry for easier access. ;)


Hope this helps ! :)


GaryGB
Last edited by GaryGB on Mon Feb 26, 2018 1:29 am, edited 4 times in total.

User avatar
Leo2789
Posts: 45
Joined: Wed Oct 04, 2017 11:32 am
Location: Portugal

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Leo2789 » Mon Feb 26, 2018 12:27 am

Hey Gary!

Boy did you give me a LOT of stuff to read haha
But as I try and catch up with all that, please explain to me exactly what do you mean by lines and polys 'clipping'? 0.o
I did notice that there is a 'bug' in the region where both ends of the VTP line touch... that's definitely not how I left it in my project :shock:
I used SBX to make the poyls (making use of the background google maps feature), but the 'test' coastline I made using SB205
Also the requested files are attached ;)

Leonardo
Attachments
Tokelau_SBX.zip
(79.09 KiB) Downloaded 2884 times

GaryGB
Posts: 120
Joined: Sun Jul 01, 2007 5:04 pm
Location: USA

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by GaryGB » Mon Feb 26, 2018 1:22 am

Leo2789 wrote:
Mon Feb 26, 2018 12:27 am
http://www.ptsim.com/forum/viewtopic.ph ... t=15#p8979


Boy did you give me a LOT of stuff to read haha

But as I try and catch up with all that, please explain to me exactly what do you mean by lines and polys 'clipping'? 0.o

I did notice that there is a 'bug' in the region where both ends of the VTP line touch... that's definitely not how I left it in my project :shock:

I used SBX to make the polys (making use of the background google maps feature), but the 'test' coastline I made using SB205.
Hi "Le0.o": :lol:

You may wish to first review the posts linked within the thread ....in my quoted thread above:
GaryGB wrote:
Sun Feb 25, 2018 11:15 pm
http://www.ptsim.com/forum/viewtopic.php?f=18&t=2467

CAVEAT: FS9 requires all legacy format vector LWM polys "clip" to local objects at LOD-13 "Area" quad borders

IIRC, FS9 requires all legacy format vector VTP poly-lines also "clip" to local objects at LOD-13 "Area" quad borders


CAVEAT: FS9 requires all legacy format vector VTP polys "clip" to local objects at LOD-8 quad borders


To help explain FS9 vector shorelines not being segmented/clipped properly during processing / BGL compilation, see:

http://www.ptsim.com/forum/viewtopic.ph ... 01dd62ffb9

Luis Sa wrote:
Mon Jun 27, 2005 5:44 am
http://www.ptsim.com/forum/viewtopic.php?f=18&t=446


Hi Vhalan,

If the polygons intersect themselves, then it is almost sure that SBuilder will not be able to cut the polygon correctly along LOD13 lines!

Regards, Luis
Luis Sa wrote:
Sat Jul 02, 2005 11:16 pm
http://www.ptsim.com/forum/viewtopic.php?f=18&t=446

Hi,

LWM polys need to be divided along LOD13 areas. Once divided they can be concave. No need to divide them in triangles.

VTP polys need to be divided along LOD8 cells. They can not be concave except in very simple cases. So they are also divided in triangles.

Luis
GaryGB
Last edited by GaryGB on Mon Feb 26, 2018 4:12 am, edited 5 times in total.

User avatar
Leo2789
Posts: 45
Joined: Wed Oct 04, 2017 11:32 am
Location: Portugal

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Leo2789 » Mon Feb 26, 2018 1:30 am

Hey Gary,

Yea I read all those posts and most of the stuff on your post after that too, but it was still a bit confusing to me :?:
By my understanding, clipping means that the polygons are 'snapped' to a particular LOD grid?
8 for lines and 13 for polys (thats what I read in one of Luis' posts).
I for example tried using the 'snap to LOD grid' option in SBuilder205, with both my island poly and its coastline vtp; the result was they both got a little more "square-ish" but I tried compiling a new bgl and see the result in FS9, the same, no coastline in sight :(

EDIT: Also in the first thread you linked, here in PTsim, there is mentioning of a 'make line' function in SBuilder205, as it exists in SBX. How do I get that option? Because I can't find it when select a poly in SB205 :/
Horst wrote:
Sun Jun 26, 2005 1:22 pm

...

And you can make from the joined polygons very easy, with “Make line”, a line, which you can use for a shoreline.

...
PS: "---Hi "Le0.o"---" Nice touch haha :P

Leonardo

GaryGB
Posts: 120
Joined: Sun Jul 01, 2007 5:04 pm
Location: USA

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by GaryGB » Mon Feb 26, 2018 2:27 am

Hi Leo:

In SBuilder205, "snapping" vertices to a LOD quad grid size is not the same as "clipping" content to LOD-13 "Areas".


Here is a copy of my post on this sub-topic at FSDeveloper.com:
GaryGB, post: 714444, member: 995 wrote: https://www.fsdeveloper.com/forum/threa ... ost-714444


You may wish to review the SBuilder for FS9 "Help" file: [SBuilder for FS9 install path]\Html\Sbuilder.chm by navigating: :idea:


SBuilder for FS9 Menu > Help > "SBuilder Help" > Search Tab > Search String: "Grid" > click 'List Topics' > Display Grid

...and:

SBuilder for FS9 Menu > Help > "SBuilder Help" > Search Tab > Search String: "LOD" > click 'List Topics' > Snap to LOD:

"Snap to LOD

When you invoke this command the coordinates of all points in all selected polygons and lines will be shifted so that they coincide with the vertex of the LOD21 grid.

If 2 consecutive points coincide after the shift the last one is eliminated. If, after the command, a polygon ends up with 2 points it is deleted.


The user is prompted to confirm the command before it takes action. When the command ends, a report appears showing the number of verified and deleted points.


Note: before compiling LWM and VTP polygons and lines, SBuilder calls this procedure to generate the BGL polygons and lines but does not change the coordinates of the "source" polygons and lines."

...and:

SBuilder for FS9 Menu > Help > "SBuilder Help" > Search Tab > Search String: "VTP" > click 'List Topics' > VTP Scenery


Thus, one draws the desired poly-lines and/or polygons, then SBuilder for FS9 will automatically "clip" such objects on LOD-13 borders (via the LOD-13 Area's LOD-21-sized 256x256 nested quad matrix sub-grid of Area Point "mini-quads") ...prior to submitting the processed data for compilation into a BGL. ;)


Hope this helps better answer your inquiries regarding the intricacies of working with SBuilder for FS9 ...via the author's own documentation. :)


PS: Numerous additional tutorials on SBuilder for FS9 are cited in, and linked via ...this post: :teacher:

http://www.fsdeveloper.com/forum/thread ... ost-117822

GaryGB
Also see:

https://www.fsdeveloper.com/forum/threa ... ost-784142

...for a discussion on the Snap To Grid feature. ;-)


Here is a couple of ways to see how FS2Kx vectors are segmented / cut / clipped to LOD-13 "Areas". :idea:


In SB205, 'Append' MONDEGO_LWM.BGL that you had submitted to Luis.


SBuilder205 Menu > View > Display Grid > Grid LOD-13


Now lets look at the river vector object near one of Luis' familiar locations: 8)


SBuilder205 Menu > View > Go To Position > Scenery Builder - Center Display > Lat: 40.2099609, Lon: -08.4364660

...or:

SDK TMFViewer Menu > File > Open: MONDEGO_LWM.BGL that you had submitted to Luis.

SDK TMFViewer Menu > Jump > Jump To Lat Lon > 40.2099609, Lon: -08.4364660

SDK TMFViewer Menu > View > LOD Grid > LOD-13

Notice 'selected' FS vector point vertices appear on each adjacent side of a LOD-13 quad "Area" boundary gridline.


Hope this helps ! :)

GaryGB

User avatar
Leo2789
Posts: 45
Joined: Wed Oct 04, 2017 11:32 am
Location: Portugal

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Leo2789 » Mon Feb 26, 2018 10:24 am

Hey Gary,

I think I understand now! The clipping you mentioned is the fact that FS9 cuts the polygons whenever they cross a LOD13 grid boundary! I had seen this before when editing FS9 default HPXXXXXX.bgl files! (When I was correcting some lake elevations in the Anchorage, AK area) and always wondered why were the polys all cut :lol:
I also already read your post:
GaryGB, post: 714444, member: 995 wrote:
https://www.fsdeveloper.com/forum/threa ... ost-714444

The problem is I can't seem to make the help im SB205 work, nothing shows up no matter which topic I select in help :/
I have the latest version of SB205 so I don't know what might be causing that...

Thanks for all those links and info Gary :)
But still, after this 'study session' I still don't understand; why is my coastline not appearing in the sim? :?:

Leonardo

GaryGB
Posts: 120
Joined: Sun Jul 01, 2007 5:04 pm
Location: USA

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by GaryGB » Mon Feb 26, 2018 1:12 pm

Leo2789 wrote:
Mon Feb 26, 2018 10:24 am
http://www.ptsim.com/forum/viewtopic.php?f=18&t=2467

The problem is I can't seem to make the help im SB205 work, nothing shows up no matter which topic I select in help :/
I have the latest version of SB205 so I don't know what might be causing that...
Hi Leo:

With SBuilder205 NOT running:

In Windows Explorer (aka "Computer" or "My Computer")

Browse to [SBuilder205 install path]

Right-click on SBuilder.exe

Choose "Properties"

Select {Compatibility} tab > [Change settings for all users] button < 'Compatibility for all users' dialog opens >

In 'Compatibility for all users' dialog > Privilege Level:

* 'check' checkbox for: 'Run this program as an Administrator' > click [Apply] button > click [OK] button

Start SBuilder205 > Menu > Help: Help dialog should now have unrestricted access to the CHM file and PTSIM links


NOTE: Windows Explorer > Right-click >"Unblock File" does not work consistently on Help and/or CHM files


Hope this "Helps" ! :)


PS: I'll take another look at your Tokelau project files later today ;-)

GaryGB

User avatar
Leo2789
Posts: 45
Joined: Wed Oct 04, 2017 11:32 am
Location: Portugal

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Leo2789 » Mon Feb 26, 2018 4:45 pm

Hey Gary,

I tried what you instructed, and made SB205 run as administrator, though that didn't change anything, help file still 'not helping' :lol:
However; doing exactly what you said below:
GaryGB wrote:
Mon Feb 26, 2018 1:12 pm

NOTE: Windows Explorer > Right-click >"Unblock File" does not work consistently on Help and/or CHM files
actually got the help file working! I don't know if forever or just for the time being, but that's what actually worked for me! Go figure 0.o

Anyways, thank you! :) And I can't wait to hear what you got regarding my coastline problem!

I'll be having more free time this week since I'm all done with tests! Now it's exams coming up in 2-3 weeks :shock:

Leonardo

GaryGB
Posts: 120
Joined: Sun Jul 01, 2007 5:04 pm
Location: USA

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by GaryGB » Tue Feb 27, 2018 5:35 am

Leo2789 wrote:
Mon Feb 26, 2018 4:45 pm
http://www.ptsim.com/forum/viewtopic.ph ... 8989#p8988

Hey Gary,

I tried what you instructed, and made SB205 run as administrator, though that didn't change anything, help file still 'not helping' :lol:

However; doing exactly what you said below:
GaryGB wrote:
Mon Feb 26, 2018 1:12 pm

NOTE: Windows Explorer > Right-click >"Unblock File" does not work consistently on Help and/or CHM files
...actually got the help file working! I don't know if forever or just for the time being, but that's what actually worked for me! Go figure 0.o
Indeed, the MSKB 'official' fix is to "Unblock"; however this does not work in some security configurations (like mine).

Leo2789 wrote:
Mon Feb 26, 2018 4:45 pm
http://www.ptsim.com/forum/viewtopic.ph ... rt=15#p898

I can't wait to hear what you got regarding my coastline problem!
Hi Leo:

When I Append your VTP coast line BGL in SBuilder205, the Properties for the line shows its width is 8 (pixels) .

Please review this excerpt from the latter part of the tutorial ('study session' :mrgreen: ) cited in my quote below:
GaryGB wrote:
Sun Feb 25, 2018 11:39 pm
http://www.ptsim.com/forum/viewtopic.ph ... t=15#p8978

For more detail on legacy FS2Kx scenery creation, you may also wish to review:


Ground2K for Beginners - by Luis Feliz-Tirado

File Description:

Newly revised for Ground2K version 4

https://library.avsim.net/esearch.php?C ... DLID=33724
"Lines

Problem: My new road (or beach) does not appear.

Answer no. 1: The smallest level of detail in Flight Simulator terrain is 4.8 meters. Anything smaller will not be displayed. Given that a part of the texture displayed by a road (or beach or any other line) is transparent, it may be that there is a minimum width to the line below which it will not display.

Solution no. 1: Always choose a width greater than 20 (pixels) for your lines."

Hope this helps ! :)

GaryGB

User avatar
Leo2789
Posts: 45
Joined: Wed Oct 04, 2017 11:32 am
Location: Portugal

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Leo2789 » Tue Feb 27, 2018 10:01 am

Hey Gary!

Boy do I feel dumb right now :oops:

I read all the info on that tut regarding lines, but I didn't do so with the common problems and answers :oops:
That's exactly what did it! I set a width of 20 and my coastline now appears :)

Once again thanks for your help Gary!

I keep getting baffled by the sheer amount and depth of knowledge you have about scenery design :shock:

Leonardo

User avatar
Luis Sa
Posts: 1736
Joined: Sun May 18, 2003 11:17 am
Location: Portugal
Contact:

Re: Runtime Error 13 'Type Mismatch' when importing SBX file

Post by Luis Sa » Tue Feb 27, 2018 12:00 pm

Hello Leonardo,

I was impressed with GaryGB participation in last revision of SBuilderX. His suggestions, tips and meticulous testing made a tremendous effect on the final result!

Regards, Luis

Post Reply