Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can block receive parameter input?

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
Anonymous
546 Views, 4 Replies

Can block receive parameter input?

Anonymous
Not applicable

Hi, here what i'm trying to achieve :
When you add a block can you make it request you to select a polyline object so you can use this polyline property into the block. Like create a quick tag to give the lenght of the selected polyline.

 

If its possible how to request it and how to acces it.

 

Thanks

Can block receive parameter input?

Hi, here what i'm trying to achieve :
When you add a block can you make it request you to select a polyline object so you can use this polyline property into the block. Like create a quick tag to give the lenght of the selected polyline.

 

If its possible how to request it and how to acces it.

 

Thanks

Tags (1)
4 REPLIES 4
Message 2 of 5
pendean
in reply to: Anonymous

pendean
Community Legend
Community Legend
Dynamic Blocks do not "request you" to do anything: if you want a user to get a prompt you will need to customize with LISP first.
0 Likes

Dynamic Blocks do not "request you" to do anything: if you want a user to get a prompt you will need to customize with LISP first.
Message 3 of 5
Anonymous
in reply to: pendean

Anonymous
Not applicable

I'm not much familiarise with LISP but i do know code

Can you add a LISP script to a block?Or LISP are more like in the project template?

 

0 Likes

I'm not much familiarise with LISP but i do know code

Can you add a LISP script to a block?Or LISP are more like in the project template?

 

Message 4 of 5
edwin.prakoso
in reply to: Anonymous

edwin.prakoso
Advisor
Advisor
Accepted solution

You can't add LISP into a block.

LISP is a program to automate your task. For example in your case, you can run a LISP routine to place a particular block then it asks to select an object. The routine will read the object properties and input them in the block attributes.

Cheers,
Edwin Prakoso
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

You can't add LISP into a block.

LISP is a program to automate your task. For example in your case, you can run a LISP routine to place a particular block then it asks to select an object. The routine will read the object properties and input them in the block attributes.

Cheers,
Edwin Prakoso
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 5
Anonymous
in reply to: edwin.prakoso

Anonymous
Not applicable

Thanks I'll give it a look

0 Likes

Thanks I'll give it a look

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report