Re: Central Model
Hi , try using these methodshttps://www.revitapidocs.com/2020/67bb59c4-77cf-7cb4-d289-489ba85e09b2.htm https://www.revitapidocs.com/2016/7de73a7b-68f0-87f2-f6a9-97d824024877.htm
View ArticleRe: Top coordinate of wall
Ask the wall for its geometry, retrieve all vertices, and select the maximum one. The Building Coder shares dozens discussions of detailed geometrical analysis of wall geometry:...
View ArticleRe: Matchlines - Access gemotry/length/coordinates?
Just like you, I do not know exactly how a matchline is represented in the Revit database. You can discover that for yourself by following the standard steps to research how to solve a Revit API...
View ArticleRe: Collaborate with Cloud (C4R) using Revit API
Thanks , Yeah I have seen the thread. TA As I am newbie in this topic, if someone could surely say if the requirement is feasible or not, then I will deeply dive into it.Also if anyone would like to...
View ArticleRe: Central Model
So basically you need to check if an Element is still "Borrowed" in the central model. I'm not aware of an API method you can call for all elements in one go. You'll need to open a (new) local file and...
View ArticleChanghing lineweight of detail lines
Hello to everyone, I would like to know how can I change the lineweight of my detail lines, the ones that I am showing in the picture. I tryed to do this, through the additional settings, line styles...
View ArticleRe: Cannot rotate this text
The property [Keep Readable] of the TextNote is probably checked. Change the value of the BuiltInParameter.KEEP_READABLE to 0 (== false)
View ArticleRe: Creating view filters for some parameters is impossible
Hello, Has this been resoloved. I have made some shared parameters for a family within my project (as instance based) and I can not seem to use this to make a filter within dynamo- I am getting the...
View ArticleRe: Matchlines - Access gemotry/length/coordinates?
As so often with elements defined by sketchlines, you can't get the sketch direcly, but you have to use the Temporary Transaction Trick to get access to the sketchlines.StringBuilder sb = new...
View ArticleRe: TaskDialog and FileName
There is the same problem with MainContent. The long string (a file name) is being truncated with ...See attachment
View ArticleRe: Changhing lineweight of detail lines
Hi,can you show us some code, to what extent you reached so we can help you from there?
View ArticleRe: Central Model
Hi,have you tried: (not sure if this is what you are looking for?var bf = BasicFileInfo.Extract(FilePath); if (bf.IsCentral && !bf.AllLocalChangesSavedToCentral ) { // "Ignored central file due...
View ArticleRe: Generate 3d view that uses Pickbox as a sectionbox
Hi,Basically, like you said it won't allow drawing boundingbox from any other clicks except from bottom left to top right, but this is because the bottom left coordinates is less than the top right...
View ArticleRe: View Crop Region Shape Manager of Elevation View locking the crop view
hi,I recall this happened to me when i created the elevation bounded to Scope box. it introduced the same behaviour. however, try to set the view depth based on Boundingbox and not...
View ArticleRe: Linework tool
Hello Jeremy. So I finally got around to trying your Snoop tool. As you can see in the images attached, there appears to be no difference in the Snoop results before I use linework to override the...
View ArticleRe: scope box set
hi,if you are trying to assign an Existing Scopebox to a View, then try the below statementmyview.get_Parameter(BuiltInParameter.VIEWER_VOLUME_OF_INTEREST_CROP).Set(MyScopbox.Id);hope that helps.
View ArticleRe: My plugin loads with release dll, but fails on the debug dll
If you have copied any of the DLL files from one computer to another, in Windows Explorer, right click the DLL files, select properties, and make sure Windows Security hasn't disabled the DLL. You...
View ArticleRe: Dynamo script in Revit API
Hi Lee, Did you see this post: Open Dynamo in background while C# add-in executes ? I feel like hzamaniM54WP was close with the following code, but I can't figure out what he was doing wrong...
View ArticleChange workset of read-only parameter
Hi,I want to change the workset of families under the system family such as Ducts, as shown in 1st code below. It didn't change any of the workset, and found out that the parameter is read-only....
View Article