Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing array spacing according to the slope of the surface

2 REPLIES 2
Reply
Message 1 of 3
Rowan12
542 Views, 2 Replies

Changing array spacing according to the slope of the surface

Hi, I am trying to place an array of objects over undulating ground but I want the spacing between each row to change according to the slope in the section between those two rows, that is the spacing of rows gets closer when the slope in between those two rows gets steeper, and the spacing increases as the slope between the rows decreases.  Can anyone tell me how to do that, or suggest where to start?

 

With Thanks,

Rowan

Tags (3)
2 REPLIES 2
Message 2 of 3
tcorey
in reply to: Rowan12

I am not trying to be glib, but the place to start would be to learn VB.NET, C# or C++so you can write a custom routine. This is not something the Array command will do on its own.

 

You can't use AutoLISP/Visual LISP as Civil 3D objects are only exposed to the languages listed above.

 

If you're not inclined to do this yourself, post in the Civil 3D customization group and someone might whip it out for you just for something to do. If it's important enough, there are plenty of professionals who would do the job for pay, but don't look here for that as this is not a classified ads discussion group. I think that would be against the rules set by Autodesk.

 

Good luck,

 

Tim



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 3 of 3
Rowan12
in reply to: tcorey

Tim,

 

Thanks for the response.  Not taken as glib at all, it actually answered my question very well.  I am just using a trial licence at the moment to try to figure out if the functionality I need is there so I can justify a purchase.It has been about 8 years since I used any AutoCAD product, and I was struggling with finding object properties and writing expressions based on them.  

 

It has been about 12 years since I looked at C++, but if this is the way to get access to the objects then I might have a play with it over the next week, and if I can't get it starting to work then I will look at other options.

 

Thanks again,

Rowan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report