Unhide layers in max export

--HG--
branch : develop
hg/feature/cef3
kaetemi 10 years ago
parent bc78734602
commit 1ab170b7d8

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

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

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

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

@ -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 =
(

@ -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 =
(

@ -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

@ -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 =
(

@ -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

@ -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

@ -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

@ -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 ()

@ -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")

@ -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 =
(

@ -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

@ -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 =
(

@ -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

@ -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

@ -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 =
(

@ -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

@ -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 =
(

@ -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

@ -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

@ -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

@ -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 =
(

Loading…
Cancel
Save