There isn’t a “revcloud” entity type in Autocad, but you can make one with a polyline and enlisting the help of send command. Here’s the sample code
And the result:
I see this asked frequently in the AutoCAD forums “How do I get the bounding box of an entity”, and the standard answer is usually, “Use vla-GetBoundingBox”, or get the entity extents. This is the correct answer, caveat, the bounding box is aligned with WCS, so if your object is rotated the result may not be what you need.
One option is to transform the object to align with WCS. Or we can use a 3rd party tool like Python’s shapely to help.
here's an example:
I thought this interesting. I could imagine using python to scrape some industry specific data, maybe a spec sheet or a materials list into a Table. Possibly a useful tool for importing “DATA” into a drawing.
This example uses BeautifulSoup, Requests and Pandas
import traceback from pyrx_imp import Rx from pyrx_imp import Ge from pyrx_imp import Gi from pyrx_imp import Db from pyrx_imp...