Plotting and Mesh Access #1139
-
Hello, I'm trying to run this example but when I try running the following script I don't get the output shown on the website. I am not sure if it's a me issue only. I'm using PyMAPDL v0.61.6. Any help is appreciated. SCRIPTimport numpy as np
from ansys.mapdl import core as pymapdl
from ansys.mapdl.core import examples
mapdl = pymapdl.launch_mapdl()
bracket_file = examples.download_bracket()
mapdl.aux15()
mapdl.igesin(bracket_file)
print(mapdl.geometry) OUTPUTCurrent Output:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Looks like you're unable to download the external example file for some reason. We're basically using import urllib.request
urllib.request.urlretrieve("http://www.lancsngfl.ac.uk/cmsmanual/download/file/barnaby-1.bmp", "barnaby-1.bmp") This should download a simple bmp locally. If this fails, there's something blocking external downloads within your network. |
Beta Was this translation helpful? Give feedback.
Looks like you're unable to download the external example file for some reason.
We're basically using
requests
(REST) to "download" the file. My guess is that you're unable to call out from your computer for some reason. Can you run the following for me?This should download a simple bmp locally. If this fails, there's something blocking external downloads within your network.