Hello again
I am having trouble trying to extract the x and y coordinates from a point variable and wondered if you could let me know how to do it.
On AutoCAD i could use the translatecoordinates function in this routine
Dim DblConv as Variant
Public Function ConvPoint(StartPoint as ACAD_POINT)
Dim StartX, StartY as Double
DblConv = thisdrawing.utility.translatecoordinates(StartPoint,acWorld,acWorld,False)
StartX = DblConv(0)
StartY = DblConv(1)
End Function
i have changed the acad object references to intellicad ones but the function errors on the line
StartX = DblConv(0)
Can you please help
ENSIGN
- CMS IntelliCAD
- - FAQ - Frequently Asked Questions
- - General
- - AutoLisp/SDS
- - VBA, . NET & IRX
- - - FAQ
- - New User
- - Small Business
- - Realistic Rendering
- - Bonus
- - Free CAD .DWG Blocks
- - License Management
- - Store, Accounts and Purchases
- - Academic
- QuoteCAD Manufacturing
- - General
- - Quotation and Manufacturing
- - Database Manager
- - License Management
- ETOOLBOX CAD Viewer
- - General
- - License management