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

Re: Can not suppress warning during rollback

Thank you, had not seen that, I will try this later and let you know.

View Article


Re: Edit Shared Parameters

I have checked with the fresh copy of my revit file,and I have make sure that only created one shared parameter from one name.And it still doesn't hold the value of the parameter that I updated through...

View Article


Re: Can not suppress warning during rollback

BTW its advisable not to delete while in a loop. Thanks & RegardsSanjay Pandey

View Article

Re: Get model extent?

1.Zoom to extents2. document.activeview.extents Thanks & RegardsSanjay Pandey  

View Article

Get Length, Width of Structural Column, and set to stub of isolated foundation

Hello,   I am to find height and Width of the column and that values I want to set to the Isolated Foundation. How I do this?

View Article


Re: get FamilySymbol from Family

here goes: FilteredElementCollector collector1 = new FilteredElementCollector(doc); ICollection<Element> collection = collector1.WhereElementIsNotElementType().ToElements(); fsym = new...

View Article

Recursive get elements in Group

I would like to get all Elements in a Model Group. The catch is, even elements which are in a nested group of the Model Group given. Is there an existing method i could use?

View Article

Re: Recursive get elements in Group

Does Group.GetMemberIds() contain a flat list of ALL the elementids recursivly?

View Article


Re: Recursive get elements in Group

First draft to getting Elements recursive from a Group  public static List<RevitElement> GetMembersRecursive(Document d, RevitGroup g, List<RevitElement> r) { List<RevitElement> elems...

View Article


Re: get FamilySymbol from Family

Thanks I'll give it a try.

View Article

Re: Attempting to make a plugin

Can anyone help out with this? I can't distinguish which button is pressed. I've been trying to see if ExternalCommandData has the information I need but I can't seem to get a dialogbox that says...

View Article

Image may be NSFW.
Clik here to view.

Re: Modify CropBox of Elevation View

WOHOOOO!!!.... Finally resolved in 2017 ... Thank you Autodesk team  

View Article

Re: Modify CropBox of Elevation View

Nice Job Autodesk! This is absolutely HUGE for us.Thanks Mostafa for verifying that it works now!

View Article


Re: Attempting to make a plugin

Offhand, I'm not sure if that is possible. one way to do this might be to put your main code in one class.  Then have another class for each button that is pressed.  Each button class would call the...

View Article

Re: Can not suppress warning during rollback

Thank you so much!I can not believe I missed that :-)Your solution works fine, thanks again 

View Article


Re: Attempting to make a plugin

You mean one class that holds a bunch of buttons? Or the number of classes = number of buttons? Because the latter gets a little out of hand when reaching 100, 1000 buttons.

View Article

Image may be NSFW.
Clik here to view.

Points along a curve.

Hello everybody,I am trying to develop a tool to find cable tray paths. Some trays are phisically conected with its cable tray fittings, but some trays are not phisically conected. In order to create a...

View Article


Re: Attempting to make a plugin

Yes, one class for each button. As far as I know, you have to tell each button what class to run when its pushed.   So I'm not sure how you can get around one class per button. You might be able to add...

View Article

Re: Recursive get elements in Group

Could You please explain what is Upload in Your code?

View Article

Column Offsets

Hello all, I am trying to retrieve the top and buttom offset values of a structural column. I've tried the following but I couldn't retrieve.  FilteredElementCollector collector = new...

View Article
Browsing all 66664 articles
Browse latest View live


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