Export separate sheets
Hi!
Does a Macro or XP exist, that automates the export of all sheets of a map into separate bitmap files?
This would be perfect for further editing in PS or Gimp.
It's quite annoying to always export them manually if i just want to check intermediate workresults
in another application
Does a Macro or XP exist, that automates the export of all sheets of a map into separate bitmap files?
This would be perfect for further editing in PS or Gimp.
It's quite annoying to always export them manually if i just want to check intermediate workresults
in another application
Comments
JSM
I.e. I could just duplicate the rivers without their outline, give the topmost-layer a slightly transparent shine.
Or duplicate the treesymbol (black&white) layer, give it another color and a little offset and a motion blur...
Compared to the CC3 effects you have endless options.
At the moment I am working on something that should look like ink on parchment...
Nils
Btw, the map looks cool on the parchment background!
What i do at the moment is: Hide all except Sheet1, export, hide all except Sheet2, export with other name...
Then import them all into i.e. one Gimp project, use Layer->Color 2 Transparency on all of them separately...
JSM
Nils
@Nils: I was hoping that that this would be available to macro somehow.
I guess it is possible to writen an XP for that as these guys here www.pkdata.se/xp/optima32.html have one for sale so that you can do a macro like
' This macro will export all sheets as DWG files with [file namne]+_SHEET_+[sheet name]
MACRO SDWGOUT
GFNSP FName *.DWG
IFERR end
SAUTOHIDEON
SSET;
:loop
SNEXT
IFERR end
SGETNAME SName
GL DName FName
APND DName _SHEET_
APND DName SName
APND DName .DWG
SAVEASM DName
IFP 1 loop
:end
ENDM
Nils
So the only issue is that i cant influence the export settings for the bmp
You can also use the VBSM command. This is used for exporting a rectangular selection however, so it means you must also supply the appropriate coordinates from your map.
But I'm a bit confused why you would need to do this.
Symbols on one sheet, ocean on another sheet, land masses on another sheet.
I guess it's not completely necessary, but it's extremely useful if I want to work with each individual layer later in a graphics program. It makes it easier to add my own textures, effects, and to paint in further details. I can do this with a map where all the layers are all flattened and rendered together, but it's not as nice or as easy to work with.
Sheets determine what is drawn when CC3/CC3+ redraws and exports.
Layers are there to group similar items.
I plan to export each sheet separately, so I can use them as separate layers in my graphics program.... I think that's what I'm trying for. I haven't explored layers in CC3+ yet, so I may still be misunderstanding things.
You can do lots of things in CC3/CC3+. I know some of the profesional folks here do export their maps and work with them in other software. But I"m not skilled in artistry, so I just use CC3/CC3Plus.
SNEXT moves to the next sheet in the list
WBSM is the macro equivalanent of saving a rectangular section.
If you enter the sheets dialog and enables the option to automatically hide all sheets but the current one, you will only see one sheet at a time, and when working through them with SNEXT, you will only get one by one.
I am a bit sure how to best terminate this gracefully in an automatic manner, but I guess you can have the macro ask for the number of sheets to process though. Means you need to count them up manually first, but that's not that much work.
Edit: Looking back in the thread to the old posts, there seems to be macro there already.
I know I'm really late to the game, but I'm trying to use this macro for PNGs instead of DWGs by replacing "DWG" in the script with ".PNG," but it only makes the first sheet a .png, then switches to making the files .png.bmp, and exporting them as .bmp files, which I can't convert to .png easily. It also gave me an error about not having enough memory to save at this resolution, which was weird. Any insight you can provide would be helpful
Try this macro, it is an improved version that handles some problems that sometimes occur when you try to export a map without a proper MAP BORDER (And unfortunately, when you hide all the sheets, you also hide the map border, even if the map has one).
Note that the following macro still have some considerations:
Does the macro above just export the currently visible sheets, or how could you change it to do so?
I.e. if I were only interested in a few of the sheets (to save time).
One thing that I was finding a limitation with CC3 (specifically DD3) is that I'd like to be able to export just some of the sheets, but with transparency - in order to use in the "foreground" layer in Foundry VTT. It adds a lot of atmosphere to an interior map if you can place cobwebs, etc above the PC / NPC tokens.
This is a snip, from the Pathfinder Abomination Vaults module on Foundry that I'm running at the moment - not my map (as there are great maps included in the premium module), but I'd like to be able to do the same with maps of my own, and didn't think it was possible to get a transparent export from CC3.
The walls (including wall shadows), cobwebs, chandeliers, curtains and doors all go into a layer above the tokens. I thought I'd need to use PS or Gimp to make such a dungeon map for VTT use. The elf with the gun is a player's token.
Sorry, no, CC3+ doesn't support transparency on exports. This is no exception.
Since you can't get sheet status (hidden or not) from a macro, you can't easily export just visible sheets this way, this takes all of them. I guess you could ask the user for each sheet, but that would be annoying and I've found that throwing up dialogs between exports seems to sometimes be crash prone. Best solution would probably be to make a copy of the drawing, then delete all the irrelevant sheets from the copy and just let the macro do them all.