Splitting drawing

Splitting drawing

Anonymous
Not applicable
506 Views
8 Replies
Message 1 of 9

Splitting drawing

Anonymous
Not applicable
Hi,
I have one drawing in Inventor with extension of .dxf which is of size 100 x 30 which I want to split in to two drawings of size 50 x 30 each .I am using vb.net 2005 and Invenor 2009.
Its not the file splitting ,its the drawing splitting of single file into two drawings of equal size.
Can u please provide me the related code.Please reply.
Thanks in advance.
0 Likes
507 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable
Hi rupali,

Stop wasting your and every one else's time. If you can read, you have
the information that it is not worth doing.

Regards


Laurie Comerford

rupali wrote:
> Hi,
> I have one drawing in Inventor with extension of .dxf which is of size 100 x 30 which I want to split in to two drawings of size 50 x 30 each .I am using vb.net 2005 and Invenor 2009.
> Its not the file splitting ,its the drawing splitting of single file into two drawings of equal size.
> Can u please provide me the related code.Please reply.
> Thanks in advance.
0 Likes
Message 3 of 9

Anonymous
Not applicable
good answer
it is not worth doing at all
just one drawing
if you have a lot of jobs do it
if you just want to split one single drawing
it is incorperiate
"Laurie Comerford" дÈëÏûÏ¢ÐÂÎÅ:6003095@discussion.autodesk.com...
Hi rupali,

Stop wasting your and every one else's time. If you can read, you have
the information that it is not worth doing.

Regards


Laurie Comerford

rupali wrote:
> Hi,
> I have one drawing in Inventor with extension of .dxf which is of size 100
> x 30 which I want to split in to two drawings of size 50 x 30 each .I am
> using vb.net 2005 and Invenor 2009.
> Its not the file splitting ,its the drawing splitting of single file into
> two drawings of equal size.
> Can u please provide me the related code.Please reply.
> Thanks in advance.
0 Likes
Message 4 of 9

arcticad
Advisor
Advisor
My Spidey Sense is detecting some Hostility.

it wouldn't be all that difficult. Find the size and detect if an object's bounding box is within the size and then I would simply delete the objects not in the box and then save the drawing out.

You could do this with ObjectDBX or open it in autocad and create a selection. The difficult part is just determining where the two boxes are.
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 5 of 9

Anonymous
Not applicable
Hi arcticad,

If you had read all the numerous posts by the OP spread over several of
the newsgroups and no obvious indication that he had ever read any of
the answers he'd been given you would understand why some of us who
offered advice earlier feel he is just a time waster.

What he wants to do is so easily done with standard AutoCAD drafting and
file save tools that it doesn't need any programming. Even if you had
to do 100 files, it would still be quicker than programming it and
ensuring the program was reliable in all circumstances.

Regards


Laurie Comerford

arcticad wrote:
> My Spidey Sense is detecting some Hostility.
>
> it wouldn't be all that difficult. Find the size and detect if an object's bounding box is within the size and then I would simply delete the objects not in the box and then save the drawing out.
>
> You could do this with ObjectDBX or open it in autocad and create a selection. The difficult part is just determining where the two boxes are.
0 Likes
Message 6 of 9

arcticad
Advisor
Advisor
Laurie,

Just because you don't see value, doesn't make it worthless.
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 7 of 9

Anonymous
Not applicable
Hi arcticad,

You're trying to put words in my mouth. I didn't say it was worthless -
I said it wasn't worth doing.

If you disagree with that, why not offer to do it?

Confirm the OP wants to break the data up based on plan location
coordinates in the DXF file, rather than simply breaking the file in
half as stated in the posts.

Confirm if the OP has AutoCAD. There won't be much value doing in VBA
if he hasn't.

Find out how the OP wants to handle objects which cross the boundary
between the two parts of the drawing,

Then code it to deal with a DXF file as requested.


Regards


Laurie Comerford


arcticad wrote:
> Laurie,
>
> Just because you don't see value, doesn't make it worthless.
0 Likes
Message 8 of 9

Anonymous
Not applicable
Hi Ted,

Thanks for reply.
I stuck in solving this problem . I have number of file for splitting.Can u please help me to solve this proble.

Thanks
0 Likes
Message 9 of 9

Anonymous
Not applicable
you could post in the .Net newsgroup, or Inventor customization NG also example of before and after dxf could be useful. Message was edited by: cadger
0 Likes