Search found 49 matches

by prodriguezdlt
04 Dec 2008, 22:54
Forum: CAD VCL
Topic: Drawing a new entity
Replies: 1
Views: 13230

Drawing a new entity

Hi, can u please help me with a simple code to create a new circle by draging his size with the mouse? i just want to know the simpliest way to draw a circle with the mouse,

cheers

Pavel
by prodriguezdlt
23 Jul 2008, 13:02
Forum: CAD VCL
Topic: Counting entities
Replies: 2
Views: 16057

Re: Counting entities

Thanks...it works perfectly! cheers
by prodriguezdlt
23 Jul 2008, 06:34
Forum: CAD VCL
Topic: Counting entities
Replies: 2
Views: 16057

Counting entities

Im havin a trouble counting entities....im using this: CadImage.Converter.count; and the curious thing is that i get more entities than i have... lets say my dwg...acording to autocad has 45378 entities but the converter.count on my project gets me 45492 so there was a 115 difference.... if i try to...
by prodriguezdlt
14 May 2008, 10:59
Forum: CAD VCL
Topic: Two questions
Replies: 11
Views: 54720

Re: Two questions

I had just realized something......theres no need of usig GetrealImage....for some reason...this function isnt making any change to the coords....this:
TsgDXFCircle(Entity).Point ... i used is the one giving me the coords i need....but still....the select wont work...
by prodriguezdlt
14 May 2008, 10:50
Forum: CAD VCL
Topic: Two questions
Replies: 11
Views: 54720

Re: Two questions

sorry sergey, but then why, again....with GetRealImagePoint im getting the same coords that Autocad, even with the circles, i think this is the best way of getting the coords, simply because there no other way i get the coord, the functions on DrawingNavigator for getting coords arent useful because...
by prodriguezdlt
13 May 2008, 09:47
Forum: CAD VCL
Topic: Two questions
Replies: 11
Views: 54720

Re: Two questions

Ok, thanks :)
by prodriguezdlt
08 May 2008, 07:41
Forum: CAD VCL
Topic: Two questions
Replies: 11
Views: 54720

Re: Two questions

with the show message i meant to say that i putted in selectforpavel so i can see the result and trying to get why it didnt select the image so select for pavel is as it follows: procedure TsgSelectionManager.SelectForPavel(const CADPoint: TFPoint; LayerName: String); var Pos: Integer; vCurrentPoint...
by prodriguezdlt
08 May 2008, 07:34
Forum: CAD VCL
Topic: Two questions
Replies: 11
Views: 54720

Re: Two questions

hi... when i select an entity with the mouse and using sgSmanager.pas....i get the entity selectend and then i get his coord's with this : FPoint:=(Img.GetRealimagePoint(TsgDXFCircle(Entity).Point)) so that way im geting the same coord's as if i load the cad file on Autocad and go to properties and ...
by prodriguezdlt
28 Apr 2008, 12:53
Forum: CAD VCL
Topic: Error on export code
Replies: 7
Views: 32258

Re: Error on export code

the error was because i accidentally put an SGImage component, and then deleted it, but in the uses of my main form the SGIMAGE remained, so i just deleted it from uses, and that was the problem...so..solved ;)

cheers Pavel
by prodriguezdlt
28 Apr 2008, 12:37
Forum: CAD VCL
Topic: Cad to PDF
Replies: 2
Views: 15820

Re: Cad to PDF

I dunno if this has been checked, but? well....question still remains! cheers!
by prodriguezdlt
26 Apr 2008, 06:10
Forum: CAD VCL
Topic: Zoom Question
Replies: 12
Views: 60379

Re: Zoom Question

Thanks Roland, it would be great if u could heko me with your code improvement,....im sending a mail to support right now to see how can this be done...thanks a lot.
cheers
Pavel
by prodriguezdlt
24 Apr 2008, 01:39
Forum: CAD VCL
Topic: rigth click on drawing navigator
Replies: 2
Views: 15729

Re: rigth click on drawing navigator

Still couldnt find my self with a way to make this....but ive "solved" by seting an empty popopupmenu component to the popupmenu property of tsgDrawindNavigator, an using the OnContextPopup Event! Btw Sergey....Is everything allright? cause ive notice that u arent anwsering questions??? Are u okay? ...
by prodriguezdlt
21 Apr 2008, 08:12
Forum: CAD VCL
Topic: rigth click on drawing navigator
Replies: 2
Views: 15729

rigth click on drawing navigator

Hi, ive tried some code's to achive an event when right clicking on the Cad image, but i just cant get it to work . I tried on DrawingNavigator.OnMouseDown := clickenmapa; procedure TForm1.clickenmapa(Sender: TObject;Button: TMouseButton; Shift: TShiftState; X, Y: Integer); begin if Button = mbLeft ...
by prodriguezdlt
17 Apr 2008, 18:44
Forum: CAD VCL
Topic: Cad to PDF
Replies: 2
Views: 15820

Cad to PDF

Hi, i wanted to save as a pdf file, so i checked the viewer demo and i saw that it does save as pdf, but i dont have the CADtoPDF lib???
What can i do?

thanks!
Pavel
by prodriguezdlt
16 Apr 2008, 01:54
Forum: CAD VCL
Topic: Hide Scrollbars
Replies: 4
Views: 21105

Re: Hide Scrollbars

Ok, thanks a lot Sergey
Cheers
Pavel