Create XClip's since created Model Views

Create XClip's since created Model Views

jtm2020hyo
Collaborator Collaborator
1,058 Views
8 Replies
Message 1 of 9

Create XClip's since created Model Views

jtm2020hyo
Collaborator
Collaborator

is there any way to create Xclip since model views of external drawings, and insert the created xclip's as one selected script?

 

I mean, create xclip of model view 1 and insert it in the coordinates 0,0,0, xclip 2 should be 0,1000,0 ,etc...

0 Likes
1,059 Views
8 Replies
Replies (8)
Message 2 of 9

JTBWorld
Advisor
Advisor

It should be possible to automate this. If you are interested in paying for the work feel free to contact JTB World


Jimmy Bergmark
JTB World - Software development and consulting for CAD and license usage reports
https://jtbworld.com

Message 3 of 9

maratovich
Advisor
Advisor

Add an example of your file.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
Message 4 of 9

JamesMaeding
Advisor
Advisor

@jtm2020hyo 

That is common in our industry, the commands are available in my free tools from:

Purgeids 

That has the file cleaner util and CC commands, search for purgids to see past posts on this.

Be sure to follow the instructions to get running, you must unblock a dll which takes 10 seconds so easy.

 

the commands.txt file has this in it, describing the tools:

Save-MXref-Props - WX is key-in, saves xref props to text file, in preparation of recreating the xrefs in another file
Ins-MXRef-Props - IX is key-in,create xrefs from props file, allows a file to be xreffed twice if already there
Ins-MXRef-Props-D - IXX, create xrefs from props file, does not allow a file to be xreffed twice, it re-uses xrefs already there

 

So what you do is set up your xrefs with layers ad clips in one file (no internal clips, outside only), run wx, select the xrefs, and where to save the text file.

Then run ix to recreate them, and pick the text file.

We did these so you can recreate the xrefs from one exhibit to the next, without doing a layer state, xclip pline...and so on.

Sorry to @JTBWorld , not trying to ace you out of consulting work, and the OP would be wise to enlist the help of an acad consultant if they are doing stuff like this by hand. There are many other things you likely can improve too.


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

Message 5 of 9

jtm2020hyo
Collaborator
Collaborator

@maratovich wrote:

Add an example of your file.


I attached a representation.

 

if  I have a 3d model and Model views like this:

 

imagen.pngimagen.pngimagen.png

 

then I should show a layout representation like this:

 

imagen.pngimagen.png

 

 

0 Likes
Message 6 of 9

jtm2020hyo
Collaborator
Collaborator

@JamesMaeding wrote:

@jtm2020hyo 

That is common in our industry, the commands are available in my free tools from:

Purgeids 

That has the file cleaner util and CC commands, search for purgids to see past posts on this.

Be sure to follow the instructions to get running, you must unblock a dll which takes 10 seconds so easy.

 

the commands.txt file has this in it, describing the tools:

Save-MXref-Props - WX is key-in, saves xref props to text file, in preparation of recreating the xrefs in another file
Ins-MXRef-Props - IX is key-in,create xrefs from props file, allows a file to be xreffed twice if already there
Ins-MXRef-Props-D - IXX, create xrefs from props file, does not allow a file to be xreffed twice, it re-uses xrefs already there

 

So what you do is set up your xrefs with layers ad clips in one file (no internal clips, outside only), run wx, select the xrefs, and where to save the text file.

Then run ix to recreate them, and pick the text file.

We did these so you can recreate the xrefs from one exhibit to the next, without doing a layer state, xclip pline...and so on.

Sorry to @JTBWorld , not trying to ace you out of consulting work, and the OP would be wise to enlist the help of an acad consultant if they are doing stuff like this by hand. There are many other things you likely can improve too.


your tool looks awesome, I will test it these days. is there any video that shows how works the commands? or tutorial? this because I am a bit scary or DLL files, because I do know how to unistall DLL files.

0 Likes
Message 7 of 9

JamesMaeding
Advisor
Advisor

@jtm2020hyo 

No videos, the usage is simple for WX and IX, but I think there is a language gap here.

I'm almost thinking you mean "section" of a model instead of xclip.

I'm way confused what you are trying to do at this point, maybe try to restate.

 

I agree dll's are something to be careful about, but I have so much to lose by doing anything underhanded that mine are trustworthy. You can look up my name, I've been on the forums forever.


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
Message 8 of 9

JamesMaeding
Advisor
Advisor

btw, on that dll subject....

Notice the "security" in acad only prevents things from being loaded.

The loading part is only a problem in one specific case - the startup lisps and rx and so on, like acad.lsp.

So what happens is you proceed to copy my tools and load them, but they do nothing until run.

Then you run a command. You have no way of knowing what that command will do.

Autocad has no clue if an operation is likely bad or good. Its security is meaningless.

So be careful about what you get, lisp or .dll (.net program). The acad "security" does nothing.

thx


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

0 Likes
Message 9 of 9

jtm2020hyo
Collaborator
Collaborator

@JamesMaeding wrote:

@jtm2020hyo 

No videos, the usage is simple for WX and IX, but I think there is a language gap here.

I'm almost thinking you mean "section" of a model instead of xclip.

I'm way confused what you are trying to do at this point, maybe try to restate.

 

I agree dll's are something to be careful about, but I have so much to lose by doing anything underhanded that mine are trustworthy. You can look up my name, I've been on the forums forever.


basically I description how AutoCAD MEP create layouts, create model view and insert it in layouts, the unique difference is that I need to cut that xref with xclip in same area that the layout, and as there are multiple layouts then I need put that xref xclip-ed in the model space in order.

 

 

imagen.png

 

PD: thanks a lot for the tool.

0 Likes