0 Members and 1 Guest are viewing this topic.
It is very good ideaThanks LEE for helpedit:By the way, I was creating the selection by points because I want to make these 2 points as a start and eand of the pline.
...You're most welcome Hasan - I have confidence that you can modify the code from here
Hi,One selection creates one polyine with zero length.
Quote from: Tharwat on October 09, 2017, 02:54:38 PMHi,One selection creates one polyine with zero length. Thanks Tharwat for your comment.
Quote from: HasanCAD on October 11, 2017, 02:31:11 AMQuote from: Tharwat on October 09, 2017, 02:54:38 PMHi,One selection creates one polyine with zero length. Thanks Tharwat for your comment.No problem, Just for clarifications. I am not picking up the codes rather than trying to pay attention to one important issue of the posted codes.
(setq blk (cdr (assoc 8 (entget blkobj))))
Code: [Select](setq blk (cdr (assoc 8 (entget blkobj))))Your 'blk' variable is currently storing the layer name of the block, not the block name.