Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
AutoLISP (Vanilla / Visual) / Re: predifined object snap
« Last post by ribarm on February 17, 2020, 07:14:48 AM »
All I can think is :
Redefine block - add point inside it - remove unwanted points or put them in layer you freeze...
set OSNAP to "nod"

And now draw line or pline with OSNAP "nod" on...
42
I only added the attributeReference .SetDatabaseDefaults();, so you knew where to put the lines above it   :laugh:
43
.NET / Re: eInvalidInput in AttributeReference.SetAttributeFromBlock() in BricsCAD
« Last post by Bernd on February 17, 2020, 06:40:27 AM »
 :smitten: Feel virtually kissed! That's it.

FYI, Teigha is a bit unforgiving, Itís a great habit to use set database defaults immediately after creating a DB object, or add it to the database
I'm afraid, this is exactly what you pointed out several answers ago  :oops:

Nevertheless - thanks a lot for your patience and to the others trying to help!
44
.NET / Re: eInvalidInput in AttributeReference.SetAttributeFromBlock() in BricsCAD
« Last post by It's Alive! on February 17, 2020, 05:31:36 AM »
a start, attributeDefinition.Height that is zero, makes teigha sad

Code: [Select]
if (attributeDefinition.Height == 0)
     attributeDefinition.Height = 1;
attributeReference .SetDatabaseDefaults();
45
.NET / Re: eInvalidInput in AttributeReference.SetAttributeFromBlock() in BricsCAD
« Last post by Bernd on February 17, 2020, 03:34:54 AM »
Do you have a sample VS Solution?
A sample solution can be downloaded here: https://my.hidrive.com/lnk/R0hpj1zF - attached!
What puzzles me is that the block reference gets inserted even though - in my understanding - the transaction is not being committed (because of the exception - is there an exception? I'm confused).
But one still cannot insert the block afterwards - see my answer to @n.yuan
46
Visual DCL Programming / Re: Is there a DCL Date Picker?
« Last post by Hugo on February 17, 2020, 03:33:42 AM »
Doslib

47
AutoLISP (Vanilla / Visual) / predifined object snap
« Last post by vincent.r on February 17, 2020, 02:27:41 AM »
Is it possible to always connect line,polyline etc. to predefined connection point of block ? and no any other snap point of block.

All snap point of block should be disabled permanently except predefined snap point.
48
AutoLISP (Vanilla / Visual) / Re: LEE MAC menu bar
« Last post by vincent.r on February 17, 2020, 02:03:54 AM »
hello, I just discovered PAYAZED MENU BAR and looks awesome.

...so, I am curious if someone created a LEE MAC menu bar? I am a fan of LEE MAC and I want use an equivalent to the PAYAZED MENU BAR.

reason: I am tired of download and sort lee mac lisp command.

Good idea jtm2018hyo. You can try through CUI.
49
ARX Programming / Re: system command such as ".erase" do not use acedSSGet()?
« Last post by Nakoyasen on February 16, 2020, 10:55:43 PM »
Your knowledge allows me to move on, no matter how much trouble.
50
Thanks John, there's definitely some neat stuff in there. Way more complex than my method. I tend to use the "command" functions quite a bit. Quick and easy, but they have their drawbacks.
Pages: 1 ... 3 4 [5] 6 7 ... 10