lisp to link viewport to object in model space and follow it almost finish

lisp to link viewport to object in model space and follow it almost finish

dani_cs
Advocate Advocate
401 Views
4 Replies
Message 1 of 5

lisp to link viewport to object in model space and follow it almost finish

dani_cs
Advocate
Advocate

Hello all

 

I found a great lisp. You make a viewport in each layout, then, you write "hvpo_sync" and the code links each viewport to a block in model space. If you move the blocks and then, you write "hvpo_sync" again, all layouts will fit the block again (awesome if you have 30 layouts and have to change the view of 20 or 25).

 

But there is just a problem. The code only creates block in model space according to the universal UCS. I mean, if you have viewport in other ucs, the code does not create a rotated block. It creates the block in universal UCS

 

Is it possible to improve the code in order to fill layouts according to their ucs view?

 

thanks in advance.

0 Likes
402 Views
4 Replies
Replies (4)
Message 2 of 5

cadffm
Consultant
Consultant

Hi,

 

>>"Is it possible to improve the code in order to fill layouts according to their ucs view?"

Yes, it is possible to edit the code for ROTATION AND SCALE of the "VIEWPORTASSOCIATION_MSOBJECT".

Time to go to your developer or wait for a bored soul.

 
 

 

 

Sebastian

0 Likes
Message 3 of 5

dani_cs
Advocate
Advocate

Hello @cadffm 

 

thanks for your response.

 

That lisp was uploaded by other user, who found it in other forum. So, I am afraid it will not be possible to find the developer.

 

thanks again.

0 Likes
Message 4 of 5

cadffm
Consultant
Consultant

I found this post, but what I wrote was:

"Time to go to your developer or wait for a bored soul."

Means, Someone who does the job for you.

I wish you much success.

 

 

Sebastian

0 Likes
Message 5 of 5

dani_cs
Advocate
Advocate

Hello @cadffm 

 

Yes, you found this post and you wrote something and I just thanked you for that

Means, I thank people who spent 30 seconds to write a post, nothing else.

0 Likes