• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

draftsight - new commands

masfur

Guest
Good morning.
I would like to build a command with the draftsight software that allows me to enter a block.
until the definition ^c^c_insert I arrive, but if I snap the button I associate, I open the selection window.
if I add ^c^c_insert c:\blocco.dwg, nothing happens. always opens the selection window.
Maybe it would take a character in the middle.. .
Did you try?
Thank you.
 
It seems correct to me that he does. How does the program know which block should be inserted? You're the one who has to tell him and do it through the selection window.
always you don't want to insert that precise block
 
Thanks for the answer.
in autocad I created my mns with the commands of the type:
[Blocco1]_-insert c:/blocco1.dwgand the block1.dwg was inserted automatically, asking only the insertion point, without selection windows.
I can't do that in draftsight.
 
Thanks for the answer.
in autocad I created my mns with the commands of the type:
[Blocco1]_-insert c:/blocco1.dwgand the block1.dwg was inserted automatically, asking only the insertion point, without selection windows.
I can't do that in draftsight.
I managed to create a script file (*.scr) that contains these commands:
Code:
_insert
"d:/block_1.dwg"
then from the graphic interface I run the script and actually appears to me to video the dwg file recalled. This is what I see in the console as a result of command execution:
Code:
: '_loadscript
: _insert
Insertblock
options: ? to list or
specific block name» d:/block_1.dwg
block units: mm; conversion factor: 25.4
options: angle, reference point, uniform scale, x, y, z or
specify the destination»
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top