Re: WinForms or WPF?
Thanks for the very informative reply. I have stuck with Winforms, but your points are all valid. Next time... Dale
View ArticleRe: WinForms or WPF?
I just read the Building Coder article you mentioned, which only just now hit my inbox. Looks like I need to add WPF to the list of things my rapidly shrinking brain should master. Dale
View ArticleViewport.Create() returns null for drafting view
I'm working on an addin that creates multiple drafting views (each one containing a TextNote) before placing them on a ViewSheet through the Viewport.Create() method. I only call Viewport.Create()...
View ArticleRe: What's the best route to extract information from Tevit
Hello Yien, Thanks for the interest, and apologies for the delay in replying. I/ my team develop & sell an estimating software. We use many different databases in it, like dimensions (sizes;...
View ArticleRe: Coordinate Tables
Revit is a BIM engine with a user interface. In general, the Revit API only supports tasks that can be achieved manually in the UI, and the UI only supports tasks that make sense in a well-designed BIM...
View ArticleRe: How to change a SturcturalConnectionHandlerType
This sounds good. Suggested solution:You could provide both classes (StructuralConnectionHandler and StructuralConnectionHandlerType) with the ability to pass an IDictionary <string, object>...
View ArticleRe: WinForms or WPF?
Dear Jason, Thank you very much for reviving this thread, your Revit Idea Station wish list entry to update the SDK and developer documentation to WPF and your forum contribution on this topic. I added...
View ArticleRe: Get room informations from FamilySymbol
I have the following problem. In instance object I get all the parameters without values. In the symbol object I only get the parameters assigned to the family with the values but not the room. How do...
View ArticleChanging ParameterGroup with InternalDefinition.ParameterGroup property
Hi, I'm trying to change a parameter group using InternalDefinition.ParameterGroup property as it has as getter as setter for it comparing to Definition.ParameterGroup property. I get the...
View ArticleRe: Get room informations from FamilySymbol
Perhaps I am a bit confused, but I understood that you were trying to get information from the Room, and supply it to your Family inside that room. If that is true, you would be using Instance Based...
View ArticleRe: Get room informations from FamilySymbol
Thanks, this is the solution what i need. The last point to finish my function is, how can i select only a FamilyInstance, perhaps with a if statement? Like: if...
View ArticleRe: Viewport.Create() returns null for drafting view
Would you mind posting your code here so that we can have a better understanding of the situation?Have you tried regenerating the document after creating the drafting view but before placing them on a...
View ArticleRe: Get room informations from FamilySymbol
I think you should be able to use the "is" statement to get this done. Example: private Room FamRoom() { IList<FamilyInstance> fams = new...
View ArticleRe: Viewport.Create() returns null for drafting view
Thanks, . I had been regenerating the document after creating each viewport, but forgot to regenerate before creating a viewport of the first Viewdrafting element. It makes perfect sense that this...
View ArticleRe: What's the best route to extract information from Tevit
If what you are looking for is to export data like lengths, sizes, weights, costs etc... of elements, the easiest would probably be for you to create material takeoff schedules. You can do so either...
View ArticleHow to modify revit button picture ?
I can create customization ribbon and button, but i can not find about the modify revit define button picture api, because i want to customization my revit whole UI style, how to do this ?
View Article"...does not inhert IExternalCommand"
Hi guys,I'm create a tool to visible hello/goodbye with WPF and Revit API.I just found out so I am not sure about it.When i debug, dialog warning like under pic.Where is my code wrong ?Thank in advanced
View ArticleRe: "...does not inhert IExternalCommand"
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data;...
View ArticleRe: How to modify revit button picture ?
Sorry my question is not clearly, my question how to change revit built-in button picture.
View Article