Quantcast
Channel: All Revit API Forum posts
Browsing all 66666 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Re: Howto update Window BuiltInParameter.WINDOW_WIDTH / WINDOW_HEIGHT

 HeyRevitalizer,The sentencefrom youwas veryhelpful! Solution:The required parameters can be read from the corresponding types of the family after the instance is created.Get the family type (element)...

View Article


Re: Howto update Window BuiltInParameter.WINDOW_WIDTH / WINDOW_HEIGHT

Hi Colin, I faced the same problem years before.Note that users can mix Element and Type parameters when creating families.Width parameter may be type-depending, while height parameter may not, that...

View Article


Formula of offset x point

Hi, I have two sets of X,Z coordinates which represent the start and end of a line. The line between the two points is at a random angle. I want to work out the X,Y coordinates of a line which is, say,...

View Article

Opensource Project

I have an idea for a open source project for revit.  I have no experience with starting a open source project. I figured I just post what I got in github.  But I want to find what are the legal issue I...

View Article

Revit Family file path.

I’m working on a class that loads families and types into a project.  This is part of a program that compares the engineers analysis model element shapes to the Revit model element types.  The firm I...

View Article


Re: Revit Family file path.

I still make use of ini files. They have advantages I like, simple format, portable, readable. Because of the 'keys' it is also easy to navigate.It allows to store different values for things I like to...

View Article

Re: Revit Family file path.

That might work.  The data I need to store is the name of the analysis shape and the file path which seem simple enough.  The ini file should be portable.  I haven't used one before but its similar to...

View Article

Re: 2017 Add-In manager

Hi bthatcher, I just tried with the one in the latest SDK posted on the public ADN site:  http://www.autodesk.com/developrevit It loads a SDK sample like HelloRevit.  Could you try it again?   

View Article


Re: Revit Family file path.

INI files can be created, read and written. INI files are a simple format so not difficult to handle them, look something like[Font]FontType=HelveticaFontSize=10[Colors] Backgr=Red Foregr=BlueIf you...

View Article


Re: Opensource Project

Personally, I publish everything I do on GitHub and equip everything with a standard open source MIT license. That takes care of all issues for software. For other publications, I use a Creative...

View Article

Re: Formula of offset x point

p = first pointq = second pointv = q - p = vector between themz = perpendicular to x and y axesw = v.CrossProduct(z) is perpendicular to v in X-Y planer = p + 500 * w.Normal is offset left or right 500...

View Article

Re: Anormal modification of Element.UniqueId

Dear Romain Barland,Please refer to Jeremy's workaround which already mentioned in blog page: http://thebuildingcoder.typepad.com/blog/2012/09/ifc-guid-generation-and-uniqueness.html"Answer: After some...

View Article

Changing the location and host of a Family Instance

Hello, I'm trying to change the location (and level if it is possible) of a Family Instance that requires a wall as a host (e.g. a Window or a Door).I imagine that for this to happen I would have to...

View Article


Re: Changing the location and host of a Family Instance

In Revit if a Window is hosted on a Wall then you are only permitted to change the Windows location as long as this location is still inside the Wall boundaries. You can't move the Window from its...

View Article

Re: Revit Family file path.

You can also consider XML format.

View Article


Re: Changing the location and host of a Family Instance

The behaviour is the same as in the Revit GUI. You can move the object only along a plane of the host. Recently started with the Revit API myself, so might be wrong here. You would have to re-host your...

View Article

Re: Revit Family file path.

I use a simple text file scheme picked up over 25 years ago where you put a code at the beginning of every important data line in the text file. Your SavePrefs routine knows how to code each line and...

View Article


Re: How do I determine if the active view is being accessed through a sheet view

you could maybe track ViewSheet and viewport activations to build a journal that describes the path a user took to get to the current view. when a viewport is activated and the previous event was a...

View Article

Re: Changes and Additions to the Revit API 2013 to 2017

Hi Steve,Not to take anything away from Jeremy's sterling work, but your document will indeed be very helpful. When this Web thing runs out of steam, the hordes will be willing to trade a lot for a...

View Article

Re: Revit Family file path.

Yet another good choice is to use application setting, you can refer to MSDN here: https://msdn.microsoft.com/en-us/library/k4s6c3a0(v=vs.110).aspx

View Article
Browsing all 66666 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>