How we can create Hatch Pattern with Notepad?

I know this is not unique post but i’m sure this could be one of the useful post for all Revit or AutoCAD users,

I think that was around 12 years ago, i bought one book and i read one interesting thing about how we can understand what is happening in AutoCAD.pat file and how we can make decode that.

For that year, regarding to my experience and knowledge and also regarding to the explanation of that book , that was very hard for me to understand what is happening in *.pat file, but that was first start.

With many try i understood more about *.pat file, but every time i didn’t try for create more than 1 or 2 years i forgot something.

Now i want to make it documentary and share this with you my friend, then every time i forgot something i can make review this post for myself.

Let’s start this.

As you maybe know we can try to create *.pat file with notepad in our computer and after we wrote our codes we can save our files with .pat extension.

I want to explain this with three different type of Hatch with three separate post in my blog, all dimensions are mm. 

  1. Tile 300×300 Grout 10

Brick

2. Tile 300×300 Grout 10 Round Corner

 

3. Brick 300×80 Grout 10

 

Ok, let’s talk about first item ( Tile 300×300 Grout 10 )

At first i should tell you one important point, if you need to define any new hatch, my offer is try to draw that hatch with line in AutoCAD regarding to simple X,Y axis like to the below picture.

Honestly, this is very important for you if this is first time you are making *.pat file and if you are making complex hatch pattern.

Because you can understand what is happening in pattern, for example for each pattern you need to have information about separate item like below list:

  1. what is the base shapes for pattern? 
  2. How many line you need to create that base shapes shape?
  3. What is the Angle for Lines? ( We call that Angle )
  4. What is the start Point coordinates for each Line regarding to 0,0? ( We call that A for X and B for Y )
  5. What is side offset for each lines? ( We call that C )
  6. what is the exact side distance between line pattern? ( We call that D )
  7. what is the length of that lines? ( We call that E )
  8. what is the Gap between lines? ( We call that F )

In next steps i will answer to above question one by one. But before we start that i want to show you final result ( *.pat file ) for this simple hatch. take a look to below pictures. as you can see

 

 

1. what is the base shapes for pattern?

Take a look to below picture, as you can see we have one simple square ( Main Tile ) and we should make pattern from this shape along to X and Y axis.

As you can see in below picture Tile (Square) size is 300mm and Distance between Tile is 10mm.

 

2. How many line you need to create that base shapes shape?

As we said we have Tile with 300mmx300mm and for create any square we need four line. Take a look to the below picture, you can see four line and as you can see, this lines have sort of pattern .

 

 

3. What is the Angle for Lines?

Line 1 and 3 are parallel with X axis, that means is the angle value for this line is 0.

Line 2 and 4 are parallel with X axis, that means is the angle value for this line is 90.

 

4. What is the start Point coordinates for each Line regarding to 0,0?

 

 

line 1

 

Line 2

 

Line 3

 

 

Line 4

 

 

5. What is side offset for each lines?

Ok, take a look to the below picture, as you can see we have line 1 along to X direction and we said, angle for this line is 0. But if you pay attention we should have have parallel pattern from Line 1 for Tiles, that are duplicating along Y Direction. Number of this pattern is unlimited.

 

Now take a look to below picture, as you can see if you need to move Parallel pattern of Line 1 along to X direction you can add value for ( C ).  This number is side offset for Line 1.

 

6. what is the exact side distance between line pattern? ( We call that D )

Take a look to below picture, as you can see we have distance between Parallel pattern of Line 1.  you can see same thing for other lines.

Line 2

Line 3

 

Line 4

7. what is the length of that lines? ( We call that E )

Take a look to below picture, as you can see, length for all lines is equal with 300.

8. what is the Gap between lines? ( We call that F )

Final item is Gap between co-linear lines. Take a look to below picture, you can see we have Gap between Line 1 Co-Linear pattern and that one is equal to 10.

The only point is, we should use minus number. then -10.

 

 

Now we have final result as new pattern for our usage in Revit.

Good Luck.

Advertisements

Big secret in AU Session ; How we can create Tag with Rotate Parameter?

Every time i’m talking about tricks i’m receiving many feedback and in many case my friends around the globe, they are saying we are following precise workflow for doing this and we never though that could be easy as this way.

Always, at that momement i am very happy, because i think i’m teaching and also learning from their workflow.

One of the big tricks i want to explain in my AU Session for this year is about Tag with Rotate Parameter . That mean is you don’t need to have separate family for horizontal or 45 degree and also you don’t need to have one family with many Label Text in different angle.

Take a look to below pictures,

 

yes, it’s possible and this is the way we can push the limits.

I will share with you about this tricks in the future but for now i need your help.

Currently i sent proposal for AU University 2017 and i need your vote. If this type of tricks are interesting for you please go to the below website and make search for this two title:

  1. Revit : Golden Tricks for save your life!
  2. Re Invent Revit: Inventor for Revit Users!

 

http://au.autodesk.com/speaker-resource-center/call-for-proposals/voting

 

 

 

Good Luck.

Re Invent Revit: Session 4, 2D Sketch assignment

I think without assignment we will not achieve to anything, hence I thought maybe i should prepare some record from 2d Sketch environment. In some part of this records I will show you how we can do something in Revit and how we should do that in Inventor.
You can watch records in below, also i should say in next few days i will make more record about 2d Sketch.

 

 

After you tried for this, if you need any help just ask I will tell you how you can make fix problems.
Good luck.

Re Invent Revit: Session 3, 2D Sketch

Now you know about many thing in Inventor, we can go for first modeling feature.

Like Revit or any other software, when you want to make extrude at first you need to have one 2d Sketch and after that you can go for Extrude command.

As you can see we have separate icon for create 2D Sketch.

But we have two major difference here:

 

  1. In Revit you don’t have separate command for create 2d Sketch and each time you are hitting Extrude command you will go to the Sketch environment and you can have access to 2d Tools like line, circle, rectangle and etc. But in Inventor you should have 2D Sketch at first and then you can go for Extrude. Take a look to the above pictures.

2. Another thing is about the Work Plane , in Revit if you are in Reference Level, Current Work Plane is Reference Level and if you are in Front/Back or Left/Right view you can use Set Work Plane command to make set one Reference Plane for 2D Sketch, but in Inventor after or before you run 2D Sketch tool you should select one Origin or User Work Plane or like in Revit You can select One Flat Surface for create new 2D Sketch.

In Inventor you have many tools for create 2d Sketch and honestly in some case you can’t find any equivalent tools in Revit but still you can find many similar tools and workflow, I can give you short brief about this tools in Inventor and you can read about that in below.

Note : In Revit we hadn’t any 2D Constrain until to Revit 2017, in this version you can see only new item and that one is about Tangent Constrain for Arc shape and you can see relevant picture in below:

 

Note : In Revit you can’t use Array Command for make Array from elements that we have in 2D Sketch.

Option Bar:  Before of short brief i should explain about Option Bar in Revit and equivalent item in Inventor, as you know after we run any tool in Revit we can find some option according to that tool in Option Bar i want to explain about this with two simple example :

 

 

1. Revit : Copy = Inventor : Copy  : As you can see in Revit you can run Copy command at first and after make select your objects, press Enter and then you will receive some option in Option Bar , but in Inventor after you run Copy command you can receive dialogue box regarding to the Copy and all option are appearing in dialogue box.

 

 

2. Revit : Offset = Inventor : Offset   ; As you can see for Offset Command After we run this tools in Revit we can see different option in Option Bar but in Inventor after we run Offset command we are not receiving any dialogue and with Right Click we can see some option like Loop Select or Constraint Offset and also if you make click at any objects you can define value for offset tool.

Note : In 2d Sketch environment we have 2d constrain which could be little strange for anyone who hasn’t any experience with this. But if you are that type of user in AutoCAD who is using Constraint then you can find many similarly way for apply 2d constrain.

In Inventor you can see after you run move command you will see Move dialogue box and then you can select your objects with selection button and define two point with location.

Note : All tools for draw are very similar to Revit.

Note : All tools for Modify are very similar to Revit


2d Rectangular pattern in Inventor : In Revit you can make duplicate 3d elements with Array Linear, the biggest problem is you can define one axis for this but here in Inventor you can define two axis for make array from 2d elements and actually this tools is very similar like AutoCAD Rectangular Array.

2d Circular pattern in Inventor : In Inventor we can make pattern from 2D Elements with Circular Pattern and the only thing you need to define here is about the object for duplicate and Center of array, also this tool is like AutoCAD.

 

Inventor Mirror : Take a look to above picture

Note : In Industrial Software like Inventor we have different color for 2d Sketch elements and also if we have any sketch with all dimension that we need to make control for size and location of sketch, we can call that Fully Constrain. I will show you one simple example in below pictures and in the future we will learn more about this:

 

You can see one Rectangle with all dimension as full constrain and another Rectangle without dimension as a free shape. pay attention to the color.

As we said we will discuss about this in the future.

Good luck.

Re Invent Revit : Session 2

Ok, Second Session is about modelling procedure, after short explanation in “Session 1″for file type in Inventor and compare that items with Revit now it’s the right time for start new model in Inventor.

But before we start to talk about this item, i should tell you one things about what we are doing usually in Revit and what we should do in Inventor.

Every time i’m teaching Revit, i’m explaining about Project Environment at first then after that i’m going for Family.

The point is in Revit because of two thing:

  1. Template for create new projects. (In every project template, we have different type of Wall, Floor, Roof, Ceiling, Stairs, Railing, as system families and also we have different type of Loadable family like Furniture, Columns, Beam, Door, Windows)
  2. Default Content Library. (We can find many different type of Furniture and Column, Door, Window, Tag, … etc that are very useful for start new project)

we can start from project.

Just for one moment imagine this in Revit, you starting new project, but you don’t have any family?!? I’m talking about all family like Systemperature Family, Loadable Family or Model-In Place Family.
Now what you should do?!?! Yes, you should create all things by your own.

—————————————————————————————————————————————————————————————–

 

 

Note: If we try to make compare as this way it’s not fair , because I can say in Inventor we have biggest default content in the world for industrial usage. Pay attention, Industrial. It’s not Door or Window it’s Screw, Nuts, Washers, Pin, Ball bearing, Roll Bearing, O Rings and etc. If i remember correctly more than 650,000 parts.

——————————————————————————————————————————————————————————————–

Hence, we have all basic requirements for create new Building ( Project ) in Revit because of what we have as a predefined Project Template and Default Family Content (Library).

I think now you know why we are going for Family in Inventor at first, let’s go for Part Modelling with IPT file and at same time we will try to make compare between this item and “Metric Generic Family” in Revit. Just follow below step for create first part (Family) in Inventor.

Or you can go for new part according to below picture :

Note : If you have need to make change for default Template according to different Unit like Imperial to Metric or vise versa, you can go for setting like above picture and change the Unit and Standard as you can see in below.

 

Now you should have result like below picture, yes we are in Part ( Family ) environment.

At the same time you can go for create new family in Revit, as i said before that Family could be “Metric Generic Family” which is None Host Family.

As you can see in above picture we have many similar item in User Interface. Ribbon, Graphic Window, Project Browser/ Properties Panel=Design Tree.

Note: In Inventor if you need to go to the Isometric view ( 3D View in Revit ) just press F6 from your keyboard and if you need to make orbit, you can go for Shift+Click and drag with Scroll like in Revit. Also if you need to make zoom in or zoom out go for F3+Click and Drag with Left mouse button. You can use F5 for go to the previous view.

Now, i have one question, did you ever think why when you are working in Project Environment you have North, South, East and West view but when you are making model for Family, you have Front/Back and Left/Right view?

Answer is, Because you are making Product, yes Product and Inventor is very powerful for this part.

Ok, lets see what we have as Work Plane in Inventor?!!? Maybe you want to say what is the Work Plane? Work Plane is same like Reference Plane in Revit.

Like Revit in Inventor you have Default Reference Plane ( In Inventor you can call that Origin Work plane ) that is coming from the Family (Part) Template, Like Front/Back , Left/Right and Reference Level in Revit we have XZ, YZ and XY Work Plane in Inventor.  You can see how we can make compare between this item in below picture.

 

Ok, until now you know about Reference Plane, but one thing is remained here and that one is Family Type Dialogue in Revit !?! do we have anything like this in Inventor. Haha , yes, we have. Take a look to below pictures:

 

 

Please don’t forgot about this, Inventor is Mechanical Software and because of this we have more ability than Revit, in the future session we will discuss about many things for creating Parameter in Inventor but for now i can tell you one simple thing and that is about the name of parameter.

If you have parameter in Revit Like ” Frame Length” in Inventor you should type that as this way “Frame_Length” that mean is you can’t use space between words in Inventor and you can use “_” .

 

Good Luck

Re Invent Revit : Session 1

First Session is about how we can start to work with Inventor. Remember, my mindset is, currently you are working with Revit, then you know about 3d Modelling and you know about Project and Family well.

but be aware about this in Inventor we have different way for modelling and different solution for do anything, hence when i’m explaining anything that item could be about usual items and maybe we could find many different way for do same things, another things is, every time i;m trying to find any method or item to make compare with Revit and say about same solution with Inventor

OK, every time i had any class for anybody or any groups they have one similar question, when we opened Inventor software at the first time we saw one dialogue box and we was confused what we should do and which item is correct for our work.

Take a look to below Picture, yes this is what they saw in first try with Inventor.

 

Let me explain about first dialogue according to Revit perception.

Description : As you know every time you want to make any project in Revit you need to put some family together, Like Wall, Floor, Roof, Ceiling (System Families) Window, Door, Furniture, Mechanical Equipment, Case work (Loadable Family=User Family ) Mass , Generic Modelling in Project (Model in-Place ) . Hence any project is combination of Family.

Here in Inventor Part is equal to Family and Assemble is equal to Project.

Simple clarification :

1. Revit : You can make a Project in Revit and bring other projects as a link into that = Inventor : In Inventor is same you can make an Assembly and bring other assembly as a Subassembly the only different is in Inventor you can make edit in any subassembly as you want but in Revit you cant make edit in Link object.

2. Revit : You can Make a Family in Revit and load it into other family as a nested family ( With this Method you are trying to make Sort of assembly in Revit )= Inventor : Usually in Inventor when you want to make assembly you can put Part object in Assembly file, (( I should say still you can make a Part and load that Part in new Part as a Drive Part) ( Also you can load Assembly in Part ))

3. Revit : In Revit you need to do modelling for Projects, in Project Environment = Inventor : In Inventor you need to make your Parts and put them together to make your Assembly ( Project ) .

Note: Actually you can do modelling in Assembly Environment with two different way and you can read about that in below .

5. Revit : In Revit Project Environment you can create Model in-Place Family and you have all feature according to Family Modelling in Project Environment = Inventor : In Inventor is same, you can use Assembly Feature and make join or cut with Part solid models, but you can not save this Feature as a new *.ipt Part and they are part of Assembly environment

6. Revit : In Revit Project Environment you can create Model in-Place Family and you have all feature according to Family Modelling in Project Environment = Inventor : In Assembly Environment you can create new Part and make active your Part Feature and create parts inside of Assembly , Difference is in Inventor you can save that part as separate Family but in Revit normally you can not do this.

Revit Family = Inventor Part

File Extension for Revit *.rfa = File Extension for Inventor Part *.ipt

Revit Project = Inventor Assembly

File Extension for Revit *.rvt = File Extension for Inventor *.iam

Simple clarification :

Q 1 ; What is the Sheet Metal.ipt ?

A 1 ; As you can see Sheet Metal.ipt is sort of Part in inventor but you can find different feature for modeling, all feature are relevant to Sheet Metal Objects, Like Water Tank, Metal Cabinet, Metal Desk, Metal Door, Cladding,

Q2 ; What is the Weldment.iam ?

A2 ; IN any case that you need to do Welding projects you can use Weldment.iam.

Q3 ; What is Standard.idw ?

A3 ; With Standard.idw file you can create drawing from any *.ipt or *.iam file , important point is in Revit you have Sheet Subset in Project Browser and Annotate Ribbon for Dimension and Symbol. But in Inventor you have separate file type (*.idw) and environment for prepare drawing.

 

 

Q4 ; What is Standard.ipn ?

A4 ; Naturally Inventor is a software for Mechanical Engineers and Product Designers, in many case this people needs to make a presentation from their Assembly, that how we should make assemble or disassemble any mechanism .  If we want to make example like this in Revit we should talk about Displacement tool. you can see similar result in Revit and Inventor in below picture.

 

 

We will discuss about modelling workflow and we will compare Revit solution with Inventor solution in the future.

Good luck.

Useful trick , Break schedules per sheet in Revit.

Ok, another trick.

As I know many of you are looking for workflow to separate schedule per sheet, and I wan to show you how you can do this.

For start you can open rac_basic_Sample_Project.rvt . Go to the sheet A001 – Title Sheet. You can find schedule here.

10-6-2016-3-28-01-pm

Select the schedule at this sheet and hit the symbol as you see in the below picture.

10-6-2016-3-28-15-pm

Now you have two separate schedule in the sheet. Also you can try to make some adjustments with the grip as you see in the below picture.

10-6-2016-3-32-20-pm

Next step is very important, because you need to make move with the little icon that you can find in the target of arrow 1.

You need to move the schedule with the distance over of the length of the sheet. Also you will be careful about the position between the parts of schedule table. I prefer to use otrack that you can see when you want align the top of the schedule table together.

10-6-2016-3-32-48-pm

You are able to create several separation between the schedule.

10-6-2016-3-35-46-pm

And make move according to that rules I said before.

10-6-2016-3-36-19-pm

Go to the next sheet and try to move all of the schedule together and put that schedule you want appear in the sheet area.

Just with simple click and drag on the schedule.

( you should not to use Move symbol in the left of top corner )

10-6-2016-3-38-09-pm

As you see in the below picture the position between of each parts not changed , just move all of table together.

10-6-2016-3-38-30-pm

Put the last table in the next Sheet.

10-6-2016-3-39-50-pm

For the final step you need to some adjustments in print dialogue like the below pictures. Go to the print dialogue and turn on which sheets as you need.

10-6-2016-3-40-58-pm

Go to the setup for printer and select the right Sheet size , change the paper placement like the below picture, and change the zoom to the zoom 100 % and hit the OK button .

You can see the result and every thing is ok, I hope you enjoy this.

10-6-2016-3-44-17-pm

 

 

How we can create drainage system in Revit ?!?

Ok, I saw many people , who are creating drainage system with model in place tool and in my opinion they are working too much for doing this.

Now I want show you how you can create drainage system more than simple then you can think.

All thing you need is a Wall and a Profile.

Let’s start.

Create New Wall ( 1 ) and go to the Edit Type ( 2 )

Drainage 1

Create Duplicate form the Type and Call that Drainage System

Drainage 2

Make change the Thickness for this wall.

Drainage 3

You will have wall like the below picture.

Drainage 4

Now you need to create a profile for Reveal like the below picture and change the usage to reveal , load this profile into the project area.

Download Family : http://s7.picofile.com/file/8259765142/R9.zip.html

Drainage 5

go to the Edit Type and add Reveal for Wall like the below picture.

Drainage 6

Now you have new Drainage wall in your project and good information then you can use for schedule and you can count your Walls in the project area.

Drainage 7

Go to the plan view and Run the Wall Command , turn on Radius option and change the value for Radius .

Drainage 8

Create your Wall .   What you feeling now ????

Drainage 9

But something is remaining , What happen if you create branch from the main line ?

Drainage 10

Go to the 3d View for recognizing the problem. How we can fix this?!?!

Drainage 11

Drainage system is very similar to Duct system, then we can create some Fitting part for this system and this family can fix the problem for us.

You need to create family like the below picture. the family should be wall based.

http://s6.picofile.com/file/8259765118/WYE_Fitting.zip.html

Drainage 12

Load the family into the project area and place the family in the floor plan view and change the branch angle in the Instance properties dialogue .

Drainage 13

Now you can use Align command for aligning between wall center line and the reference plan of the fitting.

Drainage 14

Go to the 3d View and use join command for joining the family and wall together.

Drainage 15

For cross section you have same problem .

Download family : http://s6.picofile.com/file/8259765100/Cross.zip.html

Drainage 16

And you can use same method .

Drainage 17

 

Drainage 18

 

Drainage 19

At the Final you have every thing you want , Fast modeling , Precise schedule , Fast Editing , etc.

 

Good Luck

 

 

Quick Trick , Create pipe loop for Floor Heating system!!!

When I was teaching Revit MEP to a Consultant in Iran they ask me about the Floor Heating System and they want to know how we can do this very fast in Revit , first of all I should say the piping shape for floor heating is various and in fact it’s depend to the Plan of the building.

but in many situation you need to create something like the title picture and this is very simple in Revit.

First step is about one Circulation of Pipe like the below picture. We need to the four edge for create this pipe system and as you see in the picture we have four pipe segments for four edges.

Floor Heating 1

After you create the first loop of pipe now you need to select the fitting and delete it, because you should break the chain of the pipe at here.

Floor Heating 2

After that you need to pay attention to the distance between parallel pipe like the below picture and run the Parallel Pipe Command from the System Ribbon.

Floor Heating 3

Put the Dimension as you need for example 10 for Horizontal Number and 0.2 m for distance .

Floor Heating 4

Put your courser over the one segment of pipe loop , as you see in the below picture and press TAB key from your keyboard for one time, you can see the guide line for duplicate of pipes.

Floor Heating 5

Press Left click from your mouse and you can get the below picture.

Floor Heating 6

The Final step is very simple , all thing you need is Trim to Corner command and you need to trim the pipe segments as I mark in the below picture on after the other .

Floor Heating 7

Final Result is what you want and this method is very fast for modeling.

Floor Heating 8

 

Good Luck.

How we can create Duct system with Slope in Revit

Many of my friends in the real world and in social community or some of my students ask a question about this subject then how we can do this DUCT WITH SLOPE . In the real Project you have many situation then you need ducts with slope like Kitchen and many other Exhaust system and etc.

As you see in the below picture when you run Duct command in Revit you can’t find any option for create duct system with slop

How we can create duct with slope 1

And answer is very simple you can do this with Revit , all thing you need is change the type for duct from Rectangular or Oval to Round if you do this then you can find new option for create duct system in Revit , this is what you need for create duct system with slope.

How we can create duct with slope 3

But what about the shape of the Ducts ?!? This is not serious problem because you can use change Type command and convert the Round type duct to Rectangular or Oval shape.

How we can create duct with slope 4.jpg

As you see this is very simple in Revit .

How we can create duct with slope 5.jpg