« Recursively Disable Architecture Mismatch Warning | Main | Graphics Pipeline Custom Exporter »

July 06, 2013

Comments

This line is not working with revit 2014 ,Do you have any suggestion to solve this ?
Cheers,

Dear Ahmed,

Not really. My only suggestion to start off with would be to specify what line you mean, and the exact behaviour that you observe.

Cheers, Jeremy.

Really thanks for replying :) ,
The problem coming from this 5th line above :

from pattern in fillRegionTypes.Cast()

The error is :
'Autodesk.Revit.DB.FilteredElementCollector' does not contain a definition for 'Cast' and no extension method 'Cast' accepting a first argument of type 'Autodesk.Revit.DB.FilteredElementCollector' could be found (are you missing a using directive or an assembly reference?) C:\Users\Ahmad\documents\visual studio 2013\Projects\Create Fill pattern\Create Fill pattern\Command.cs 37 49 Create Fill pattern

Also How I can add transparency assuming to solid black for grey scale purpose because all I knew is this :
OverrideGraphicSettings ogs = new OverrideGraphicSettings();
ogs.SetSurfaceTransparency(80);
How I can make it reflect on above filled region to be 80% along with the created filled region ?

Thanks

Dear Ahmed,

You seem to be lacking the Linq namespace.

Add the following line at the top of the module:

using System.Linq;

Cheers, Jeremy.

Dear Ahmed,

This is basically all I know about transparency:

http://thebuildingcoder.typepad.com/blog/2012/07/obj-model-exporter-with-transparency-support.html

Cheers, Jeremy.

Could you use this technique to change a filled region to an area boundary? Using revit conventionally (copy and paste) it seems you can't make the transition between the 2, revit takes your boundary from your filled region and converts it to lines in the area plan.

Jeremy,

Is there any way to determine the line styles used for the boundary lines in a filled region? Or better yet, is there an easier way to manipulate these line styles within a filled region (other than deleting and recreating the filled region)?

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)

Jeremy Tammik

AboutTopicsIndexSource