Jump to content

Recommended Posts

Posted

Hi guys, I really need your help.
in accoreconsole i need to open a dwg containing several sheets limited by closed polylines and export them all to separate dwg and pdf files.
Through the json I get from autodesk forge I can identify which are these polylines and select them using their handle.
The last step of my process would be to get your coordinates using the list command and then finally export the sheets using select.
How do I use the coordinates of the list command in the selection if the list command only shows one output on the screen?
Is there a way to save this data from the list command in a variable or even save it to a text file which I could read later with the core console and execute the final part of the export?
thank you

Posted

The aeccoreconsole can use lisp so should be able to find the plines in the dwg the you can get there co-ordinates like top right, bottom left. Use wblock to write out the new dwg.

 

Make a list of all the pline co-ords then loop wblock.

 

Why use Forge ? Your plines should have something like a layer so you can find them.

 

https://www.tek1.com.au/load-lisp-files-accoreconsole/

Posted
16 hours ago, BIGAL said:

The aeccoreconsole can use lisp so should be able to find the plines in the dwg the you can get there co-ordinates like top right, bottom left. Use wblock to write out the new dwg.

 

Make a list of all the pline co-ords then loop wblock.

 

Why use Forge ? Your plines should have something like a layer so you can find them.

 

https://www.tek1.com.au/load-lisp-files-accoreconsole/

 

Thanks for answering the question BIGAL , Forge is used throughout the project to import dwg and convert to pdf, at the moment the system development guideline is identify markings that are lwpolylines around the project pages without using layers as an identification parameter.
I need to find the lwpolylines that surround the pages, obtain their coordinates so that I can export each page using the coordinates obtained.

Posted (edited)

The plines must have some sort of "Key" to be found else would randomly pick everything that was a pline. What about using area of pline, greater than a value.

Edited by BIGAL

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...