Help on stretching my selected object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys. Sorry but i seem to be stuck once more. I am writing a code to select an object (crossing) and to stretch it a certain distance on the y axis. This is the code that I have to select the object, but I cannot find what to use to stretch it. I actually found something to scale it, but it is not what I need. Hope you guys can help. Thanks
With ThisDrawing.Utility
Dim SP1sel1(0 To 2) As Double
Dim SP1sel2(0 To 2) As Double
Dim objSS As AcadSelectionSet
Set objSS = ThisDrawing.SelectionSets.Add("zzadsaaafatt")
' Select the object
SP1sel1(0) = 488: SP1sel1(1) = -20: SP1sel1(2) = 0
SP1sel2(0) = 540: SP1sel2(1) = -150: SP1sel2(2) = 0
objSS.Select acSelectionSetCrossing, SP1sel1, SP1sel2
Dim Test1 as AcadEntity
Dim StretchValue (0 To 2) As Double ' this is the amount I would like to stretch by
StretchValue(0) = 0: StretchValue(1) = -30: StretchValue(2) = 0
Thanks for any help