Extrude Polyline by Value in Object Data Table

Extrude Polyline by Value in Object Data Table

schroederC3D
Collaborator Collaborator
473 Views
3 Replies
Message 1 of 4

Extrude Polyline by Value in Object Data Table

schroederC3D
Collaborator
Collaborator
Hi Everyone,

I posted this in the other forum as well, before thinking that this would be an idea place to ask.

I'm looking for some ideas on how to extrude simple, closed polylines by the depth value in their object data table.

That's all, a simple question to ask, but a difficult one to answer I suspect.

Thanks for your thoughts

Reply Syntax?
Command (Uppercase): TRIM, Variable (Italicized): MSLTSCALE, Civil 3D Object (Within brackets): [SITE]

If this solves your issue or answers your question then please hit the KUDO button or mark as an ACCEPTED SOLUTION!


Please support my Idea to revert the forum format to the old one: https://forums.autodesk.com/t5/community-ideas/revert-to-old-forum-layout/idi-p/7917987
0 Likes
474 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Are you familiar with the ActiveX API? This is how it would go:

Create a selection set of all LWPolylines
Make sure they are closed.
Iterate through them to see if they have object data attached - if so grab the extrude value.
Create a region object from the LWPolyline (addRegion).
create a solid using the region and extruded value (addExtrudedSolid).

Hope that helps,

Scott
0 Likes
Message 3 of 4

schroederC3D
Collaborator
Collaborator
Thanks for replying Scott. No, I'm not familair with the ActiveX API. I'm just currently looking into the feasibility the idea. How long do you think this would take someone who knows what they're doing to write? Is it an overly difficult task?

Reply Syntax?
Command (Uppercase): TRIM, Variable (Italicized): MSLTSCALE, Civil 3D Object (Within brackets): [SITE]

If this solves your issue or answers your question then please hit the KUDO button or mark as an ACCEPTED SOLUTION!


Please support my Idea to revert the forum format to the old one: https://forums.autodesk.com/t5/community-ideas/revert-to-old-forum-layout/idi-p/7917987
0 Likes
Message 4 of 4

Anonymous
Not applicable
Some that knows what they are doing might be able to write it in a few minutes. If I was doing it (in Lisp) I would take all day :) Of course it all depends on how much error checking you want it to do, selecting everything at once over each pline ect. Would the data be linked to the new 3D objects or not. A few other ways of doing it may be to create an excell report of all the info and have MAP3D or another LDD create a whole new dwg. So yes it is feasible and there may even be something out (lsp,vba,arx) that may do it already. Murph "schroedera" wrote in message news:18394781.1086795434089.JavaMail.jive@jiveforum2... > Thanks for replying Scott. No, I'm not familair with the ActiveX API. I'm just currently looking into the feasibility the idea. How long do you think this would take someone who knows what they're doing to write? Is it an overly difficult task?
0 Likes