Unhide layers in max export

This commit is contained in:
kaetemi 2015-01-13 13:21:56 +01:00
parent 9dfc7944d7
commit f65356079e
25 changed files with 160 additions and 8 deletions

View file

@ -49,6 +49,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide

View file

@ -54,6 +54,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide

View file

@ -194,6 +194,7 @@ fn runNelMaxExportSub inputMaxFile retryCount =
tagThisFile = false
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide

View file

@ -39,6 +39,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide

View file

@ -13,6 +13,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(

View file

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export anim
# \date 2011-09-21-20-51-GMT
# \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export anim

View file

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export clodbank
# \date 2011-09-21-20-51-GMT
# \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export clodbank

View file

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(
@ -115,6 +125,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide

View file

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(
@ -120,6 +130,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide

View file

@ -17,6 +17,16 @@ NEL3D_APPDATA_IGNAME = 1423062564 -- string : name of the Instance Group
tagThisFile = true
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(
@ -307,6 +317,10 @@ fn buildTransitionMatrixObj mt transitionZone cellSize =
-- Export instance groups from the current loaded zone
fn exportInstanceGroupFromZone inputFile outputPath igName transitionZone cellSize =
(
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide
max unhide all
@ -501,6 +515,7 @@ try
objXRefMgr.UpdateAllRecords()
-- Unhide category
unhidelayers()
unhidecategory()
DeleteDebugMarkersFn ()
@ -648,6 +663,7 @@ try
objXRefMgr.UpdateAllRecords()
-- Unhide category
unhidelayers()
unhidecategory()
DeleteDebugMarkersFn ()
@ -863,6 +879,7 @@ try
objXRefMgr.UpdateAllRecords()
-- Unhide category
unhidelayers()
unhidecategory()
DeleteDebugMarkersFn ()

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export pacs_prim
# \date 2013-07-24-14-21-GMT
# \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export pacs_prim
@ -130,6 +130,13 @@ if MaxAvailable:
# Remove bad file from previous script version
listPath = ExportBuildDirectory + "/" + PacsPrimExportDirectory + "/landscape_col_prim_pacs_list.txt"
if os.path.isfile(listPath):
os.remove(listPath)
log.close()
if os.path.isfile("log.log"):
os.remove("log.log")

View file

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export rbank
# \date 2011-09-21-20-51-GMT
# \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export rbank

View file

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(

View file

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(
@ -260,6 +270,7 @@ fn runNelMaxExportSub inputMaxFile retryCount =
tagThisFile = false
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export skel
# \date 2011-09-28-07-42-GMT
# \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export skel

View file

@ -13,6 +13,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export swt
# \date 2011-09-28-07-42-GMT
# \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export swt

View file

@ -13,6 +13,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export veget
# \date 2011-09-21-20-51-GMT
# \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export veget

View file

@ -16,6 +16,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(
@ -105,6 +115,7 @@ fn runNelMaxExport inputMaxFile =
tagThisFile = true
-- Unhide category
unhidelayers()
unhidecategory()
-- Unhide

View file

@ -6,7 +6,7 @@
#
# \file 1_export.py
# \brief Export zone
# \date 2011-09-28-07-42-GMT
# \date 2015-01-06-16-31-GMT
# \author Jan Boon (Kaetemi)
# Python port of game data build pipeline.
# Export zone

View file

@ -13,6 +13,16 @@ nlErrorStream = openFile nlErrorFilename mode:"a"
if nlErrorStream == undefined then
nlErrorStream = createFile nlErrorFilename
-- Unhide layers
fn unhidelayers =
(
for i = 0 to (LayerManager.count - 1) do
(
layer = (LayerManager.getLayer i)
layer.ishidden = false
)
)
-- Unhide category
fn unhidecategory =
(