Browse
Graphisoft Community
All
This category
This board
Articles
Users
Products
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Forum
Installation & update
Licensing
Modeling
Libraries & objects
Documentation
Visualization
BIMx
Project data & BIM
Parametric design
Sustainable design
Teamwork & BIMcloud
Collaboration with other software
General discussions
Our Community
Wishes
Knowledge Base
Installation & update
Licensing
Getting started
Modeling
Libraries & objects
Documentation
Visualization
BIMx
Project data & BIM
Teamwork & BIMcloud
Collaboration with other software
Our Community
Building Together
Graphisoft User Group
Graphisoft Insiders
Graphisoft Insights
Challenges
Parametric Object Factory
My Graphi Story
One Override to Rule Them All
Snow Globe Challenge
Building Together Challenge 2021
Developer Hub
Developer forum
Português (Brasil)
日本
International
search
Help
Sign In
All
This category
This board
Articles
Users
Products
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Developer forum
GDL coding questions, Python and add-on development using the API Dev Kit.
Graphisoft Community (INT)
Developer Hub
Developer forum
How to determine the angle at the end of the wall?
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Pin this post for me
Bookmark
Subscribe to Topic
Mute
Printer Friendly Page
How to determine the angle at the end of the wall?
Anonymous
Not applicable
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
2019-07-10
01:54 PM
- last edited on
2022-10-04
04:29 PM
by
Daniel Kassai
API_WallType has a "poly" property.
But it contains the original polygon of the original wall without taking into account the docking.
Labels:
Labels:
Add-On (C++)
Preview file
45 KB
All forum topics
Previous Topic
Next Topic
1 REPLY
1
Anonymous
Not applicable
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
2019-07-10
02:48 PM
O'h I'm sorry.
In API guide described API_WallRelation, that contains needed polygon.
For my aim this code works.
API_Polygon* poly;
API_WallRelation relData;
poly = &relData.connPoly;
for (j = 1; j <= poly->nSubPolys; j++) {
begInd = (*relData.pends)[j - 1] + 1;
endInd = (*relData.pends)
;
for (i = begInd; i < endInd; i++) {
begC = (*relData.coords)
;
endC = (*relData.coords)[i + 1];
}
}
Post Reply
Start a new conversation!
Create new topic
Don't want to miss a reply?
Subscribe to topic
Related articles
how to get the labelled door origin
in
Developer forum
Is there a way to determine whether a wall or slab is complex in the elevation view in GDL Label?
in
Developer forum
Check by script if window is cutted
in
Developer forum
Python property for Wall Orientation
in
Developer forum
Door/Window head/sill height above storey level.
in
Developer forum
Labels
Add-On (C++)
864
Automation (Python or JSON)
145
Data management
1
Developer
776
GDL
17
Library (GDL)
802
Other
96
Latest solutions
BIMcloud API Userlist
Developer forum
CPRISM_ question
Developer forum
Retrieve an array from the model view options
Developer forum
GDL:CONE:truncated cone with a slope on one side o...
Developer forum
Movable object along path
Developer forum
View all
Most liked posts
Subject
Likes
Re: GDL: Object placement point reset
4
Re: Archicad API Download Problem
2
Re: Archicad API Download Problem
1
Re: Custom drawing title
1
Re: mesh display order and building material not w...
1
View all
Still looking?
Browse more topics
Back to forum
See latest solutions
Accepted solutions
Start a new discussion!
Create new topic