yokel
18-03-2005, 05:57 AM
This one may be a bit complicated for VBA for beginners but it’s probably just a indication I have overstretched myself on this project.
My question is, VBA doesn’t seem to have a measure or divide command built into its object model. How would I perform a equivalent action in code?
Also any advice on the project I am doing is welcome.
I am trying to write a program that will draw slope symbols scaled and orientated perpendicular between two splined Polylines.
To do this manually I create a block of a slope tadpole and use measure or divide to apply the symbol along the top or bottom slope line. This is fine for a uniform slope but if it is tapering I have to scale each block individually so it tapers as well.
Any ideas of a way of programming this simply? Attached is my DVB file, I didn’t get far before I got flummoxed. I use AutoCAD 2000 to 2005.
Cheers
My question is, VBA doesn’t seem to have a measure or divide command built into its object model. How would I perform a equivalent action in code?
Also any advice on the project I am doing is welcome.
I am trying to write a program that will draw slope symbols scaled and orientated perpendicular between two splined Polylines.
To do this manually I create a block of a slope tadpole and use measure or divide to apply the symbol along the top or bottom slope line. This is fine for a uniform slope but if it is tapering I have to scale each block individually so it tapers as well.
Any ideas of a way of programming this simply? Attached is my DVB file, I didn’t get far before I got flummoxed. I use AutoCAD 2000 to 2005.
Cheers