Windows 8 Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 22 June 2011

Revit Patterns: Defined

Posted on 10:00 by Unknown

Patterns. I have a love/hate relationship with patterns. I am a recovering AutoCAD addict and have been working with AutoCAD *.pat files for as long as I can remember. I thought once I moved on from AutoCAD into Revit, I would be saying goodbye to programmatically creating patterns. Well, for better or worse, I still have to create them.

What I can say, is that Revit does a better job of handling them. Working on the MEP side of things, my exposure to patterns is rather limited in comparison to the Revit Architecture folks out there. I think because of that, I look at things a bit differently and it may work to my advantage.

Lets start with the basics.

Where are these magical pattern files? Well, that’s an easy one.
..\Program files\Autodesk\\Data\

What are the file names?
Well here is what is in my Revit 2011 Architecture Data folder:
Revit.PAT
 Default Imperial pattern definition file
Revit metric.PAT
Default Metric pattern definition file
Revit metric custom.PAT
Ported Metric autocad pattern definition file

Great. Now how do they work?

Here is the rub.

They are very similar to AutoCAD patterns. If you are familiar with them, you may start to doze off here in a moment, but for those uninitiated pay close attention.

The *.PAT files contain a list of patterns that are broken down into the math of each repeating line.  These patterns can consist of a single repeating line or dozens of line segments of different angles to produce wood-grain effects. (What fascinates me... is imagine your boss asked "what did you do today?"  your response: "Coded 50 lines of text to create a wood-grain pattern, it took 4 hours!")

Examples: (Click Image for Full Size)

Kind of Intense right?! I promise, It's not that bad. We can tackle this topic together.

The default pattern file (Revit.PAT) has a great header portion that describes the entire process of creating patterns.  However, I have taken the liberty of breaking the pattern definitions down for you graphically to help ease you into it. To illustrate the definitions, I have selected the  "Block 8x16" pattern because of it's relative simplicity.


Pattern File Format
Unit Structure
%UNITS=INCH
Defines the default unit structure of the pattern. This helps to define scale.  Units are set to Inches in the above pattern
Version
%VERSION=3.0
This identifies the file as a Revit Fill Pater for the specified version. (include this for future compatibility)

Pattern Definition Format
Name, Comment
*Bock 8x16, 8 x 16 blocks Running Bond
This defines the name of the Pattern and the Description separated by a comma
Type Directives
%=MODEL
This defines the Type of Pattern. This can either be "Model" or "Drafting" If this line is omitted, it will default to Drafting

Each pattern line is defined by the following criteria and needs to be in the following order:
Angle
Value
This is the angle based off the origin points below. "0" Represents a Horizontal line and "90" represents vertical. The value of this angle can be any radial angle you many need
X-Origin
Value
This is the origin point for the "x" direction. Most commonly, this will have a 'null' value.
Y-Origin
Value
This is the origin point for the "y" direction. Most commonly, this will have a 'null' value.
Shift
Value
Shift moves the pattern of dashes and spaces along the length of each new parallel line. Shift is ignored if the line is solid.
Offset
Value
Offset defines the distance between parallel lines.  Zero Offset is not allowed.





The dash-space sequence defines a repeating pattern of dashes and spaces for a line. If it is omitted, the line is solid.
Dash
Value
Positive numbers define dashes
Space
Value
Negative numbers define spaces.
  
Each line of the definition represents a new pattern line.  So for the block 8x16 pattern,  the first line defines the horizontals and the second line defines the verticals. The images below should illustrate the process.







0
0
0
0
8
Angle
X-Origin
Y-Origin
Shift
Offset








90
0
0
0
8
8
-8
Angle
X-Origin
Y-Origin
Shift
Offset
Dash
Space

Hint:
If you begin a pattern with a space, do not alternate dashes and spaces, or do not end with a space, Revit will introduce tiny dashes or spaces to compensate. Revit expands dots and very short dashes into dashes of a minimum size.

For those coming from AutoCAD and think they have the pattern mastered, here are the changes in Revit.


Differences from AutoCAD:
  • AutoCAD has an 80-character line size limit, Revit's is 4096. 
  • AutoCAD allows arbitrary sequences of dashes, spaces and dots, Revit coerces them into dash-space format by inserting zero spaces and dashes. 
  • AutoCAD has a notion of dots, Revit expands them (including the zero dashes it inserted) into short dashes. 
  • AutoCAD has a maximum of 6 components to a line pattern, Revit has no limit. 
  • AutoCAD does not allow spaces in a pattern name, Revit does. 
  • AutoCAD allows only one pattern per a custom file, with pattern name matching file name, and with the file residing in a known location. Revit has none of these restrictions. 
  • AutoCAD and Revit utilize different logic to decide whether a pattern is acceptable.
Note: that when Revit exports its models into AutoCAD formats, such as DWG, it makes sure to comply with the more stringent AutoCAD requirements.

'Til next time. Happy Reviting.



Matthew Nelson
MEP Solutions Application Specialist

Matthew has a deep understanding of Autodesk products. He studied Mechanical Engineering at SUNY Stony Brook. He has been a BIM manager and CAD manager for a leading international consulting services firm utilizing AutoCAD MEP, Civil 3D and Revit MEP. During that time, he focused his skills on understanding the dynamics of inter-discipline coordination on large scale civil and building engineering projects. At Ideate, Matthew provides training and support for Revit MEP, Navisworks and AutoCAD MEP. @MNelsonIdeate

Get it. Know it. Use it.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Autodesk Revit, Ideate, Ideate Inc., PAT files, Patterns, Revit | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Civil 3D 2013: 2D and 3D Polyline Conversion
    While working on a grading I needed to change grades along a path that had been defined as a 2D polyline. Well, it is a fact that a 2D polyl...
  • Ideate, Inc. Welcomes Eugene A. O’Day, IX, to Tech Expert Team
    San Francisco, CA, 7/31/2013 – Ideate, Inc., an Autodesk Gold Value Added Reseller, today announced that Eugene A. O’Day, IX, has joined I...
  • Autodesk InfraWorks Tips and Tricks: JavaScript Support
    Here at Ideate, we are always on the lookout for helpful tips and tricks that might be of value to our customers. While attending Autodesk T...
  • Civil 3D Technology Preview – Corridor Solids for Civil 3D 2012
    How do you import a Civil 3D corridor into Revit or Navisworks? I was asked this question a couple of months ago while importing a Civil 3D ...
  • Civil 3D Subscription Download – Volumes Dashboard Extension for AutoCAD Civil 3D 2012
    Have you always wondered what happens to your Civil 3D subscription dollars? Well, Autodesk keeps on adding value for subscription customers...
  • Ideate, Inc. Publishes Jasmax and BVN Use Case Study in Success
    SAN FRANCISCO, California – 09/11/2012 - Ideate, Inc., a leading Autodesk® Authorized Developer and Autodesk solutions provider offering qua...
  • New Room Calculation Point Functionality in Revit 2014
    In coordination with the Ideate, Inc. YouTube video on Autodesk Revit 2014 - Room Calculation Point, this post describes how the Revit 2014...
  • Rebar Documentation and Concrete Modeling Enhancements in Revit Structure 2014
    Thank you for visiting Ideate’s blog to check out the new features added to Autodesk Revit Structure 2014. My name is Shruti Harve and I wor...
  • Import Street Centerline from GIS Data Straight to a 3D Model
    So you import GIS data into AutoCAD or Civil 3D to get AutoCAD lines and use it for design and analysis. What if you could import the .SHP f...
  • Exploded Axonometric Views in Revit 2014: No Problem!
    Thank you for visiting Ideate’s blog to check out the new features added to Autodesk Revit 2014. My name is Shruti Harve and I work as a Sen...

Categories

  • .NET 4.5
  • .NWC file
  • #ADSK2012
  • #ADSK2013
  • #adsk2014
  • #AU2011
  • #AU2012
  • #AU2013
  • 2014
  • 2014 Migration
  • 360
  • 360 account
  • 360 online options
  • 3D
  • 3D Axon
  • 3d design
  • 3d Object
  • 3d Scanning
  • 3D View
  • 3ds Max
  • 3ds Max 2014
  • 3ds Max Design
  • ACI
  • adoption
  • ADSK2014
  • AEC
  • AEC Application Specialist
  • AECbytes
  • AIA
  • AIA CEU
  • AIA LU
  • AIM
  • Air Terminal Duct Enhancement
  • Airborne
  • Alternate Dimensions
  • Annotation Scale Unit Scale
  • Apple Boot Camp
  • Architectural Project Manager
  • ASHRAE
  • Assembly Code
  • Asset Browser
  • assign pay items
  • ATC
  • AU
  • AU 2012
  • Aurecon
  • Authorized Training Center
  • AutoCAD
  • AutoCAD 2012
  • AutoCAD 2013
  • AutoCAD 2014
  • AutoCAD Architecture
  • AutoCAD Civil 3D
  • AutoCAD Civil 3D 2012
  • AutoCAD Civil 3D 2013
  • AutoCAD Civil 3D 2014
  • AutoCAD for Mac
  • AutoCAD for Mac 2013
  • AutoCAD LT
  • AutoCAD Map 3D
  • AutoCAD Mechanical
  • AutoCAD MEP
  • AutoCAD MEP 2012
  • AutoCAD MEP 2013
  • AutoCAD MEP 2014
  • AutoCAD Plant 3D
  • AutoCAD WS
  • Autodesk
  • Autodesk 2014
  • Autodesk 360
  • Autodesk 360 account
  • Autodesk 360 Settings
  • Autodesk 3ds Max Design
  • Autodesk 3ds Max Design 2013
  • Autodesk Authorized Certification Center
  • autodesk authorized developer
  • Autodesk Authorized Training Center
  • Autodesk Autodesk Authorized Training Center
  • Autodesk Autodesk Revit MEP
  • Autodesk Certification
  • Autodesk Certified Instructor
  • Autodesk Civil Infrastructure Specialized
  • autodesk cloud
  • autodesk community
  • autodesk construction specialization
  • Autodesk Consulting Services Partner
  • autodesk corrupt file
  • Autodesk Design Review
  • Autodesk Design Suites
  • Autodesk Ecotect
  • autodesk exchange apps
  • Autodesk Fabrication Specialization
  • autodesk file crash
  • autodesk forum
  • Autodesk Gallery
  • Autodesk Green Building Studio
  • Autodesk Impression
  • autodesk infrastructure modeler
  • Autodesk Instructor Certification
  • Autodesk Labs
  • Autodesk License Manager
  • Autodesk licensing
  • Autodesk M&E
  • Autodesk Maya
  • Autodesk MEP
  • Autodesk MEP 2014
  • autodesk mep systems specialization
  • autodesk mosaic
  • Autodesk Navisworks
  • Autodesk Navisworks 2012
  • Autodesk Navisworks 2013
  • Autodesk Navisworks 2014
  • Autodesk Navisworks Manage
  • Autodesk Navisworks Simulate
  • Autodesk Partner
  • Autodesk Product Support Specialization
  • Autodesk Quantity Takeoff
  • Autodesk ReCap
  • Autodesk Reseller
  • Autodesk Revit
  • Autodesk Revit 2012
  • Autodesk Revit 2013
  • Autodesk Revit 2014
  • autodesk revit architecture
  • Autodesk Revit Architecture 2012
  • autodesk revit architecture 2013
  • Autodesk Revit Architecture 2014
  • Autodesk Revit MEP
  • Autodesk Revit MEP 2013
  • Autodesk Revit MEP 2014
  • Autodesk Revit Structure 2013
  • Autodesk Revit Structure 2014
  • autodesk roadway design
  • Autodesk Showcase
  • autodesk simulation specialization
  • Autodesk SketchBook Pro
  • Autodesk Software
  • Autodesk software installation
  • autodesk specialization
  • Autodesk Structural Engineering Specialization
  • Autodesk Subscription
  • Autodesk Technical Support
  • autodesk training
  • Autodesk University
  • Autodesk Vault
  • AutoLISP
  • Axis
  • Below Ribbon
  • Bentley
  • Best Practices
  • Beyond the Basics
  • bill johnson
  • BIM
  • BIM 360 Field
  • BIMLink
  • bimlink for revit
  • blame
  • Bob Palioca
  • Bradley Cooley
  • BUGIE
  • Building Design Suite
  • building information modeling
  • Bullit Center
  • business
  • Business Analysis
  • BVN Architecture
  • CAD
  • CAD Files in Revit
  • CAD Files. Eugene O'Day
  • CAD Imports
  • CAD Links
  • CADLearning
  • CADLearning Portal
  • Certified Instructor
  • change
  • Citrix
  • Civil
  • Civil 101
  • Civil 3D
  • Civil 3D 2012
  • Civil 3D 2014
  • Civil 3D Fundamentals
  • civil 3D.
  • clash detective
  • Clinton Maulder
  • Cloud
  • cloud 360
  • CloudOn
  • COBie
  • COBie Guide
  • collaborate
  • Collaboration
  • Command Line
  • Commandline
  • commitment
  • Common Materials
  • Competition
  • Conduit Size
  • consulting
  • continuing education
  • corporate culture
  • corridor solids
  • create pipe table
  • create structure table
  • CSV
  • customer satisfaction
  • Cyclone
  • Data
  • Data References
  • Data Shortcuts
  • data sources
  • David Haynes
  • Derek Wielkopolski
  • Diagrammatic 3D views
  • Differentiator
  • Digital Entertainment
  • Displaced Views
  • Displacement
  • disruptive
  • DOE Solar Decathlon
  • drawing audit
  • Dropbox
  • Duct Pipe Elbow Specific Angle
  • DWF
  • dwg
  • Eagle Point
  • Ecotect
  • Ecotect Analysis
  • Edit Materials
  • Edith Green Wendell Wyatt
  • eLearning
  • Electrical Fundamentals
  • elevation analysis
  • enhanced rebar shapes
  • Environmental Science Associates
  • ESA
  • Eugene O'Day
  • Excel
  • Excel to Revit
  • Exploded Axonometric
  • Exploded Isometric
  • Explorer
  • Export
  • export to DGN
  • export to excel
  • FARO
  • fatal error
  • File Repathing
  • File Support
  • File Type
  • FILEDIA
  • Fitting
  • FUD
  • Gary M. Davis
  • gaurav bagga
  • gis
  • Glynnis Patterson
  • Google Maps
  • Google Sheet
  • Green BIM Basics
  • Green Building Studio
  • Hague Justice Portal
  • highways
  • HMC Architects
  • hsw credits
  • Ideate
  • Ideate BIMLink
  • Ideate BIMLink for Revit 2013
  • Ideate BIMLink for Revit 2014
  • Ideate BIMLink for Revit 2014.1
  • Ideate BIMLink Survey
  • Ideate Consulting
  • Ideate Explorer
  • Ideate Explorer for Revit
  • Ideate Explorer for Revit 2013
  • Ideate Explorer for Revit 2014
  • Ideate Inc.
  • Ideate presents
  • IdeateBIMLink
  • IdeateInc
  • improvement
  • IMSCAD
  • Inc.
  • InfaWorks
  • Infrastructure
  • Infrastructure Design Suite
  • Infrastructure Modeler
  • Infrastructure Modeler 2014
  • InfraWorks
  • InfraWorks 360
  • Infraworks R2
  • Inroads
  • Interior Designers
  • Intersection Design Tool
  • intuition
  • Inventor
  • IPD
  • James Cowan
  • Jasmax
  • Javascript
  • Jeld-Wen Field
  • Jim Cowan
  • Jim Quanci
  • Jobsite Inspections
  • Kasian Architecture
  • kate ming
  • Laser Scan
  • Layer Key Style
  • Layer Standard
  • Lean
  • LEED
  • LEED AP
  • LEED Gold
  • Leica
  • license cascading
  • License Manager
  • LIDAR
  • lionakis
  • Lock
  • Lookup Table
  • LPAS Architecture and Design
  • M&E
  • Mac OS
  • Manage Paths
  • Map 3D
  • Marcel de Jong
  • Mark Schoennagel
  • Material Editor
  • Material Library
  • Materials
  • matt miyamoto
  • Maya
  • Maya LT
  • Measurement
  • Mechanical and Plumbing
  • mentor
  • mep
  • MEP 2014
  • MEP Ideate
  • MEP IDeate
  • Microsoft Windows 8
  • Mobile
  • Mobile Apps
  • Model
  • MotionBuilder
  • Move Objects away
  • Mudbox
  • Multi Rebar Annotation
  • Navisworks
  • Navisworks 2014
  • Navisworks Manage
  • negotiation
  • network
  • network deployments
  • Nicholas M Kramer
  • ObjectARX
  • Objects & Label Styles
  • OS X
  • PAE Consulting Engineers
  • Parallel
  • Parallels
  • PAT files
  • Patterns
  • Perpendicular
  • Phased Based
  • Phillippi Engineering
  • Photometric Lights
  • Pipe Network
  • Planning
  • PMI
  • PMP
  • point cloud
  • Point Clouds
  • POINTCLOUD
  • polyline
  • post-mortem
  • preparation
  • Presentations
  • Pressure Network
  • Pressure Pipe
  • Pressure Pipe Networks
  • Pressure Pipe References
  • Pressure Pipe Shortcuts
  • Product Key
  • project galileo
  • project management
  • Project Management Institute
  • Project Management Professional
  • Project Manager
  • Project Neon
  • project silverstar
  • Properties
  • Property Set Definition
  • Proposals
  • PSD Schedule
  • quantity takeoff
  • Randomization
  • RCP
  • RCS
  • Reality Capture
  • RealWorks
  • Rebar Constraints
  • Rebar documentation
  • Recap
  • Registry
  • Reinforcement Rebar Enhancements
  • Reinforcement Rounding
  • Rendering
  • requirements
  • Review
  • Revit
  • Revit 201
  • Revit 2013
  • Revit 2013.3
  • Revit 2014
  • Revit 2014 Model Performance Technical Note
  • Revit Architecture
  • Revit Architecture 2014
  • Revit Architecture Fundamentals
  • revit building information model
  • Revit elevation
  • Revit error
  • Revit Families
  • revit forum
  • Revit Ideate "Ideate Inc." Parameter Variance Vary Group
  • Revit MEP
  • revit mep 2012
  • Revit MEP 2014
  • Revit Model
  • revit multi-category
  • Revit Railings
  • revit schedule
  • revit schedules
  • Revit Server
  • Revit Server 2013
  • Revit Stairs
  • Revit Structure
  • Revit Structure 2012
  • Revit Structure 2014
  • Revit Technology Conference
  • Revit Tip
  • Revit to Excel
  • Revit tool
  • Revit Training
  • Revit User Group
  • Risk
  • roads
  • Robert Palioca
  • Ron Palma
  • RonPalmaAEC
  • Room Aware Families
  • Room Calculation Point
  • RTC
  • RTC Europe
  • RTCUSA
  • RVT
  • sash kazeminejad
  • Scan Data
  • Scanning
  • Scenarios
  • Scoping
  • scripts
  • Selling
  • Services
  • settings
  • SFRUG
  • shruti harve
  • Signage
  • Site tools
  • SketchBook Designer
  • SketchBook Designer 2013
  • Sketchbook Mobile
  • Sketchbook Mobile Express
  • SketchUp
  • solution
  • Spreadsheet
  • Stair Functionality
  • Stairs and Railings
  • Storm and Sanitary Analysis
  • strategy
  • Structural Analytical Model Improvements
  • Structural Rebar
  • Support
  • surface analysis
  • survey
  • Switch Geometry Order
  • SWOT
  • sync settings
  • syncing settings
  • Systems
  • tech support
  • technology
  • Temporary View Properties
  • thinking
  • Time of Flight
  • Tooltip
  • travel
  • Trillium Creek
  • Trimble
  • USGBC
  • Value
  • Vasari
  • Vault
  • VDC
  • View Properties Temporary
  • Virtualization
  • VM Ware
  • Wayfinding
  • William Johnson
  • Windows
  • Windows 8
  • Windows Server 2012
  • workflows
  • Workset
  • worksharing
  • Workspace
  • Xgen

Blog Archive

  • ►  2013 (204)
    • ►  November (15)
    • ►  October (19)
    • ►  September (14)
    • ►  August (18)
    • ►  July (23)
    • ►  June (14)
    • ►  May (25)
    • ►  April (31)
    • ►  March (15)
    • ►  February (11)
    • ►  January (19)
  • ►  2012 (204)
    • ►  December (13)
    • ►  November (14)
    • ►  October (19)
    • ►  September (18)
    • ►  August (19)
    • ►  July (12)
    • ►  June (17)
    • ►  May (23)
    • ►  April (27)
    • ►  March (19)
    • ►  February (10)
    • ►  January (13)
  • ▼  2011 (92)
    • ►  December (10)
    • ►  November (9)
    • ►  October (16)
    • ►  September (13)
    • ►  August (19)
    • ►  July (14)
    • ▼  June (11)
      • Can't Stop Talking About Project Neon
      • Ballad of the Note Block
      • Classroom Training - Open Classes + $200 Off Train...
      • eLearning – Upcoming Classes
      • Revit Patterns: Defined
      • Classroom Training - Open Classes + $200 Off Train...
      • Surveyors’ Companion from @eagle_point
      • eLearning – Upcoming Classes
      • The Essential Revit Data Management Tool: Ideate B...
      • Classroom Training - Open Classes + $200 Off Train...
      • Insertion Point: Revit Families
Powered by Blogger.

About Me

Unknown
View my complete profile