Integrate a patch by Paul RASCLE for V3.2.0b1.

This commit is contained in:
jfa 2006-04-18 12:35:07 +00:00
parent 155e9c0084
commit 891fcd3d54
2 changed files with 5 additions and 3 deletions

View File

@ -142,6 +142,9 @@ assemblageId = addToStudy(assemblage, "assemblage")
# #
# Display # Display
# #
gg = ImportComponentGUI("GEOM")
gg.initGeomGen()
gg.createAndDisplayGO(baseId) gg.createAndDisplayGO(baseId)
gg.setTransparency(baseId,0.5) gg.setTransparency(baseId,0.5)
gg.setDisplayMode(baseId,1) gg.setDisplayMode(baseId,1)
@ -154,4 +157,3 @@ gg.createAndDisplayGO(weldId)
gg.setTransparency(weldId,0.5) gg.setTransparency(weldId,0.5)
gg.setDisplayMode(weldId,1) gg.setDisplayMode(weldId,1)
gg.setColor(weldId,0,0,255) gg.setColor(weldId,0,0,255)

View File

@ -36,8 +36,8 @@ import GEOM
g = lcc.FindOrLoadComponent("FactoryServer", "GEOM") g = lcc.FindOrLoadComponent("FactoryServer", "GEOM")
geom = g._narrow( GEOM.GEOM_Gen ) geom = g._narrow( GEOM.GEOM_Gen )
gg = ImportComponentGUI("GEOM") #gg = ImportComponentGUI("GEOM")
gg.initGeomGen() #gg.initGeomGen()
#SRN: modified on Mar 18, 2005 #SRN: modified on Mar 18, 2005