Jump to content

Any way to render lines from Autocad?


Tim Nelson
 Share

Recommended Posts

Well I've got a bunch of diagonal pipes that form the entry of a building. Sort of decorative & structural at the same time. Its a pain in the a** to model cylinders in acad that are at angles.

 

Basically what I decided to do is make my 3d lines in acad, then import them into Viz. Then trace those lines w/ splines in Viz so they can be renderable.

 

But I was wondering if there was some modifier that would convert my cad lines into renderable splines so I wouldnt have to do the xtra work.

Link to comment
Share on other sites

You said that doing cylinders in cad at an angle is a pain. Have you tried extruding along the path to make these. Or are you extruding, then rotating?

 

Like Fran said, import the dwg into Viz, click on the line, click on the modify panel and then click renderable. You can then set the radius of the line.

Link to comment
Share on other sites

I thought the File Link Manager had the ability to bring the drawing with the option to make lines renderable with a specified thickness? I'm assuming you are using Viz4? The problem with this is that all of your lines will be rendered, whether you want them to or not. You could then go to the modify panel and extract the line out of the VIZBlock. You loose the association with the linked drawing, but you can add an edit spline modifier and make those lines renderable.

Link to comment
Share on other sites

Select the objects you want to set the renderable property to, MAXScript > New Script and paste this code there:

 

for i in selection do if hasproperty i.baseObject #renderable do

(

i.baseObject.renderable = true

i.baseObject.thickness = 10

i.baseObject.DisplayRenderMesh = true

)

 

Now choose File > Evaluate all in that window and you're set.

 

Of course, this will make them renderable with a thickness of 10. Change the thickness to whatever you want and that should work.

 

Alexander

Link to comment
Share on other sites

What I always end up doing when using a file-linked dwg, is converting the linked lines into editable splines. (right click, convert to, editable spline) then you have the renderable option. It looks like Alex's Script might be the way to go however.

 

-Chad

Link to comment
Share on other sites

Chad

 

I do this all the time using the settings in File Link Manager as already mentioned. It's true that it makes all your lines render but I just keep all my lines that I want rendered in a seperate dwg file. You can link many dwgs into 1 viz scene with different settings.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...