Search found 16 matches

by slingblade
12 Jun 2010, 06:18
Forum: CAD .NET
Topic: CADMText Align Property
Replies: 4
Views: 20696

Re: CADMText Align Property

FYI: Here are the AutoCAD acAlignment constants. acAlignmentLeft = 0 acAlignmentCenter = 1 acAlignmentRight = 2 acAlignmentAligned = 3 acAlignmentMiddle = 4 acAlignmentFit = 5 acAlignmentTopLeft = 6 acAlignmentTopCenter = 7 acAlignmentTopRight = 8 acAlignmentMiddleLeft = 9 acAlignmentMiddleCenter = ...
by slingblade
12 Jun 2010, 05:59
Forum: CAD .NET
Topic: CADMText Align Property
Replies: 4
Views: 20696

Re: CADMText Align Property

Thanks! :P
by slingblade
12 Jun 2010, 05:58
Forum: CAD .NET
Topic: Add Tag Property To Entity
Replies: 3
Views: 16401

Re: Add Tag Property To Entity

We're trying to make entities within CAD Import .NET software closer to AutoCAD entities.
That's good to hear. Do you have anything similar to XData or XRecord where I can attach information to the entities?
by slingblade
10 Jun 2010, 13:19
Forum: CAD .NET
Topic: CADMText Align Property
Replies: 4
Views: 20696

CADMText Align Property

Hi,

Can you let me know the possible values for the CADMText.Align property?

I can't seem to find them in the documentation.

Thanks!
by slingblade
10 Jun 2010, 11:54
Forum: CAD .NET
Topic: Add Tag Property To Entity
Replies: 3
Views: 16401

Add Tag Property To Entity

Hi,

It would be really useful to me if the entities each had a Tag property that accepts any object of type system.object, just like you will find with most .Net controls.

Do you have plans to add that in the near future? If not would it be possible for you guys to add that to the entities?
by slingblade
10 Jun 2010, 11:44
Forum: CAD .NET
Topic: Create New DXF Drawing?
Replies: 2
Views: 13790

Re: Create New DXF Drawing?

Thank you!
by slingblade
09 Jun 2010, 05:34
Forum: CAD .NET
Topic: Create New DXF Drawing?
Replies: 2
Views: 13790

Create New DXF Drawing?

Hi,

Is is possible to create a new Dxf drawing? The only menu options I see in the examples are for opening an existing drawing.
by slingblade
07 Jun 2010, 12:34
Forum: CAD .NET
Topic: Visibility Not Working For Insert
Replies: 2
Views: 14520

Re: Visibility Not Working For Insert

Hi, I found a work around to make the insert's invisible. I iterated all of the entities in the block collection for the insert and individually set them to visibility = false and that seems to work. In a perfect would It would of course be great to not have to do that and if you set the parent cont...
by slingblade
07 Jun 2010, 12:28
Forum: CAD .NET
Topic: CADImage.Select Method Bug
Replies: 3
Views: 17137

Re: CADImage.Select Method Bug

Hi Alexander, I have found the cause for the bug. It seems I didn't have a reference to a PropertyGrid control set to the EntityPropertyGrid property in the CADImportFace class. i.e. CADImportFace.EntityPropertyGrid = this.propGrid; Here is the code from the FAQ_Demo.Net example private void InitExt...
by slingblade
07 Jun 2010, 04:06
Forum: CAD .NET
Topic: Visibility Not Working For Insert
Replies: 2
Views: 14520

Visibility Not Working For Insert

Hi, I have noticed that setting the visibility property to false does not change Insert's visibility, it will change the visibility state of lines. I am using the FAQ_Demo.Net sample and in the mousedown event I am finding the layer of the entity selected and then I iterate over all the entities in ...
by slingblade
04 Jun 2010, 17:45
Forum: CAD .NET
Topic: SelectionSet or Filter for Entities
Replies: 5
Views: 23923

Re: SelectionSet or Filter for Entities

Hi, Maybe if I'm more specific you can tell me if it can do this. Say I have 100,000 lines in my dwg and 200,000 block references for a total of 300,000 entities in my drawing (lets not even talk about points). I want to be able to quickly select all lines on layer 123, that are red and have a linet...
by slingblade
04 Jun 2010, 04:31
Forum: CAD .NET
Topic: CADImage.Select Method Bug
Replies: 3
Views: 17137

CADImage.Select Method Bug

Hi, I am using the CADImage.Select(x, y) method in a mousedown event for a CADPictureBox. When I do it returns a Null Reference exception, below is the stack trace at CADImport.FaceModule.CADImportFace.SelectObject(CADEntity ent) at CADImport.CADSelector.Select(Int32 x, Int32 y) at CADImport.CADImag...
by slingblade
04 Jun 2010, 01:21
Forum: CAD .NET
Topic: SelectionSet or Filter for Entities
Replies: 5
Views: 23923

Re: SelectionSet or Filter for Entities

Hi, So iterating over the entire collection of entities is the only option? I ask because I can see times where there might by 100,000 entities or more and having to iterate through each one might be an issue. Is the underlying structure of a dwg a database? If it is could you not have a method to q...
by slingblade
03 Jun 2010, 07:58
Forum: CAD .NET
Topic: Viewer Control Events Not Firing
Replies: 2
Views: 13801

Re: Viewer Control Events Not Firing

Ok I have discovered from the FAQ_Demo that CADPictureBox control mouse down event does fire and I am able to use it to do what I need. :P I'm new to CADSoftTools and I have a couple of questions, 1) what's the purpose/differences in the CADImport.FaceModule.CADPictureBox, CADEditorControl and the C...
by slingblade
03 Jun 2010, 04:30
Forum: CAD .NET
Topic: Viewer Control Events Not Firing
Replies: 2
Views: 13801

Viewer Control Events Not Firing

Hi, I am using the CADEditorControlDemo and I am trying to get access to the entity that I select/click in the viewer control. However none of the mouse events for the control fire when I click into the drawing. Can you please let me know how I capture the mouse click event from the control? BTW: I ...