Open agvarghe opened 1 year ago
Hi @agvarghe just to clarify, are you trying to display a particular volume zone within the part? Have you specified the part/entity expression for the volume zone that you want to display?
Hi @hlee0122 Yes i am expecting to draw a volume zone , I havnt defined the part scope nor entity type , instead i just defined the evaluation type and zone expression
đ Before submitting the issue
đ Description of the bug
When trying to display mesh by defining scope to Volume Zone the display shows empty . i have executed the following commands
#display for volume in part.get_volume_zones(): display(scope=prime.ScopeDefinition(model,entity_type=prime.ScopeEntity.VOLUME,evaluation_type=prime.ScopeEvaluationType.ZONES, zone_expression=model.get_zone_name(volume)+"*" ))
Can you look into this
đ Steps to reproduce
` import os import time from ansys.meshing import prime from ansys.meshing.prime.graphics import Graphics from ansys.meshing.prime import lucid
input Files
workindDirectory="E:\PyPrimeMesh\Scripts" cadFileName="two_box.scdoc" export_file = os.path.join(workindDirectory,'exported_cdb.cdb')
with prime.launch_prime(timeout= 30 ) as client: model=client.model meshUtil=lucid.Mesh(model) startTime=time.time()
`
đť Which operating system are you using?
Windows
đ Which ANSYS version are you using?
2023R1
đ Which Python version are you using?
3.8
đŚ Installed packages