Forums >> Revit Building >> Technical Support >> DWG/DXF Color Number to Revit Line Weight Table Revit 2009
|
|
active
Joined: Thu, May 19, 2011
167 Posts No Rating |
# DWG/DXF Color Number to Revit Line Weight Table# Maps DWG/DXF Colors (1-255) to Revit Line Weights# Revit Line Weight (1-16) -- assumption is that list is in order, 1 to 255.
How do I change the pen styles for eg AutoCAD Line 1 - .3000mm to a Revit Lineweight
cheers
-----------------------------------
Using Revit Architecture 2012 |
This user is offline |
|
|
|
site moderator|||
Joined: Tue, May 16, 2006
13079 Posts
|
Read this topic in your HELP:
Making Global Changes to the Graphic Display of Layers
and this:
Setting Line Weights for Imported DWG or DXF Files
and this:
Specifying Line Weights
|
This user is offline |
|
|
active
Joined: Thu, May 19, 2011
167 Posts No Rating |
thank you
-----------------------------------
Using Revit Architecture 2012 |
This user is offline |
|
|
active
Joined: Thu, May 19, 2011
167 Posts No Rating |
Hopefully I am not missing something. I have overridden in view graphics within each drafting view to change acad layers. That works fine. I have also modified a importlineweights-dwg-Petroff Full Size.txt within the data file for import lineweights/dwg/dxf.
Which I loaded into the project. The issue (if there is one) is that my directors are complaing that the lineweights for sections etc in Revit are not architecturally as pronounced as in AutoCAD.
I have 9 30x40" pages of detail views that i am changing linetype for each layer within each view. rather tedious. is there ( apologies if I missed this) a way to assign line types globally. i.e. metal or eifs wall type or wall assemblies in Revit
-----------------------------------
Using Revit Architecture 2012 |
This user is offline |
|
|
site moderator|||
Joined: Tue, May 16, 2006
13079 Posts
|
I found that importing CAD always leads to problems when not done correctly. In your case , not having the proper setup prior to importing is a problem. I would consider properly setting the import up and re-importing but I don't know how much you have to do.
As far as your Revit lineweights, again, goto your object style and modify those settings. Once you get it right, transfer it to your template. You can't modify lineweight by materials but you should not anyway. The exterior wall line should be the same no matter what the material is.
For all vierws, setup view templates and assign the views to them, then simply apply the default view template to all views. BTW DEFAULT - really means ASSIGNED.....
|
This user is offline |
|
|
active
Joined: Thu, May 19, 2011
167 Posts No Rating |
Thank you. We have no template. We are in the middle of issued for construction on a 140,000 sq ft commercial project and setting up Revit for the first time.
-----------------------------------
Using Revit Architecture 2012 |
This user is offline |
|
|
active
Joined: Thu, May 19, 2011
167 Posts No Rating |
my question is I have 80 dwg details in Revit.
I created a view template under arch called callout. I set the linework for layers in VG ovcerrides such as Ametal (3) struc wall (2) etc. within the imported dwg. Can I implement this view template into all my other drafting views and it will auto associate the line types if the same layers are present?
-----------------------------------
Using Revit Architecture 2012 |
This user is offline |
|
|
active
Joined: Fri, Nov 2, 2012
12 Posts No Rating |
How can one export a .txt file that contains the 255 AutoCAD colors that a DWG would contain and their pen weights, so that this text file could be used when linking/importing AutoCAD DWG to Revit. The file I am asking for looks something like this:
# DWG/DXF Color Number to Revit Line Weight Table
# Maps DWG/DXF Colors (1-255) to Revit Line Weights
# Revit Line Weight (1-16) -- assumption is that list is in order, 1 to 255.
# You may edit using File -> Import/Export Settings -> Import Line Weights... .
And then carries on with 255 rows of numbers (weights)
|
This user is offline |
|
|
active
Joined: Fri, Nov 2, 2012
12 Posts No Rating |
??????????????????????????????
|
This user is offline |
|
|
site moderator|||
Joined: Tue, May 16, 2006
13079 Posts
|
Revit will export to CAD according to the color/layer chart you furnish. Read about this in your HELP. That setup will tell you all the colors used.
|
This user is offline |
|
|
|
active
Joined: Fri, Nov 2, 2012
12 Posts No Rating |
I think you're misunderstanding my post there. Let me try to rephrase. As I said in my previous post, I am interested if an AUTOMATED (not a manual) way of exporting the .txt file from the CAD file so that when Importing a CAD file to Revit, the txt file could be used to assing correct pen weights within (for example) a Revit drafting view. Revit looks at that .txt file and reads off it. Location for that file could be specified in the 'Import Line Weights' dialog accessed by the tiny arrow in the bottom right corner of the Import panel on the Insert tab.
Of course if the layers in the CAD file themselves contain a lineweight assigned in the layer properties dialog, then Revit will just readily read those, but if the layers are instead set to DEFAULT (which is the case very ofthen) then we need to refer to the Plot style table (pen assignments) which is basically a *.CTB file right? And from the ctb file we just get the corresponding numbers for the 255 rows of pen weights. Right? Basically it is .txt file saying:
# DWG/DXF Color Number to Revit Line Weight Table
# Maps DWG/DXF Colors (1-255) to Revit Line Weights
# Revit Line Weight (1-16) -- assumption is that list is in order, 1 to 255.
# You may edit using File -> Import/Export Settings -> Import Line Weights...
and then it goes like...
1
2
1
1
3
etc.
So the question is - where exactly in the *.ctb file do we get the important number, which we then put into the .txt file? I suppose it's either the tab Form view or Table view (they are basically the same thing in a different representation) and respectively for each of the 255 colors there is a number assigned. Is it the Pen# or the Virtual Pen#? If it is the Pen# then why are there number from 1-32 and in Revit we have from 1-16??? Respectively, it makes no sense either to be the Virtual Pen# cos that goes from 1-255, and as I said Revit has only 1-16. MASS CONFUSION!!!
And one more thing. As far as I know there's going to be a *.ctb file for each scale u wanna plot the CAD in. So it is also important to take the correct pen assignments number from the correct .ctb file and then assign them into Revit, because Revit has 'Line Weights' dialog and under the Model Line Weights there are respectively the 1 to 16 model line weights as well as all the scales in the file. So the outcome is that the .txt file I am asking about is going to apply only on an instance basis. Say u wanna import a CAD detail into a drafting view. To get the weights correct u have to have Revit read off the .txt file you manually create and then make Revit look for it wherever you have saved it.
THIS IS AS THOROUGH AN EXPLANATION AS I CAN MAKE. PLEASE CORRECT ME IF I AM WRONG AND TELL ME WHAT'S WITH THE PEN# AND VIRTUAL PEN# AND WHY ARE THEY NOT FROM 1 TO 16 AS I WOULD EXPECT???
|
This user is offline |
|
|
site moderator|||
Joined: Tue, May 16, 2006
13079 Posts
|
I don't understand why users have such an adversity to reading the HELP!
Setting Line Weights for Imported DWG or DXF Files
When you import a DWG or DXF file, each layer in the file is assigned a line weight based on the pen number-line weight settings. Revit can import pen numbers from a DWG or DXF file and map them to a Revit line weight. You can then save these mappings in a text file, and they become the set mappings for the project.
Revit includes the following files with pen and line weight mappings:
- importlineweights-dwg-AIA.txt
- importlineweights-dwg-BS1192.txt
- importlineweights-dwg-ISO13657.txt
- importlineweights-dwg-CP83.txt
Read it! You will be amazed at the information at the tip of your fingers.
|
This user is offline |
|
|
active
Joined: Fri, Nov 2, 2012
12 Posts No Rating |
Thanks for the 'help' WWhub. The way I explained it is exactly the way it is. The way it is explained in Wiki help is extremely shallow. I was asking about the crux of the whole thing and Wiki does not quite explain that. Bottom line is that in the ctb file, the Pen# and Virtual Pen# values mean nothing by themselves. They work together with the actual setting of the 'Lineweight'. The thing that drives the actual weight is the Lineweight value in specified in millimiters, which is also assigned on the same dialog in the *.ctb file, where also the Pen# and Virtual Pen# are found.
|
This user is offline |
|
|
active
Joined: Tue, Aug 22, 2006
7 Posts
|
Hi, with a rather long history of this thread i still have confusion. I know how to link cad details to revit and i know how to export and control the colors of exported dwg files from Revit.
What i do not know is that how to control the colors of linked cad details, when exporting back to CAD from REVIT.
On the left is the original cad detail, on the right the exported cad detail from Revit opened in CAD. The dwg/dxf export settings grays out linked cad file's layers so i can not control it from there, there must be some other way of doing it. Any help?
|
This user is offline |
|
|
active
Joined: Tue, Aug 22, 2006
7 Posts
|
Hi, with a rather long history of this thread i still have confusion. I know how to link cad details to revit and i know how to export and control the colors of exported dwg files from Revit.
What i do not know is that how to control the colors of linked cad details, when exporting back to CAD from REVIT.
On the left is the original cad detail, on the right the exported cad detail from Revit opened in CAD. The dwg/dxf export settings grays out linked cad file's layers so i can not control it from there, there must be some other way of doing it. Any help?
|
This user is offline |
|
|
|