Nader Belal

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 30 total)
  • Author
    Posts
  • in reply to: ISSUE: UI DIALOGUE USER INTERFASE #18838

    Nader Belal
    Participant

    Thank you @Piotr

  • in reply to: Polygon area #18836

    Nader Belal
    Participant

    @Harry Alex,

    The Shoelace formula is easier to implement.

    @Jože Marinko

    Note: For calculating area of close non-self intersection polygon, the vertices must go anti-clock wise, and for negative areas (holes) you must go clock wise.

    @Harru Alex,

    Can you implement Bolyai–Gerwien hypothesis in GDL ?

  • in reply to: How to extract the coordinates of a zone polygon? #18615

    Nader Belal
    Participant

    You can with the accessories, if you have them installed.

    I just want to make sure that there is no other way

  • in reply to: Problems with LP_​XMLConverter tool #18596

    Nader Belal
    Participant

    Hi Péter,

    Answering your questions,

    Which version of LP_​​XMLConverter : 22

    What is at line 18531 ?? It’s a part of a rich text that was put in a fragment2 layer

    here is the section of of xml

    
    	<RichText>
    		<DrawIndex>10</DrawIndex>
    		<Layer>16</Layer>
    		<LocX>0.0622</LocX>
    		<LocY>0.2375</LocY>
    		<Width>56</Width>
    		<Ang>0</Ang>
    		<WidthFactor>1</WidthFactor>
    		<CharSpaceFactor>1</CharSpaceFactor>
    		<Anchor>4</Anchor>
    		<FixedHeight>true</FixedHeight>
    		<NonBreaking>false</NonBreaking>
    		<ParamInd>-1</ParamInd>			!<--the bugger
    		<Ind1>0</Ind1>
    		<Ind2>0</Ind2>
    		<Content>
    			<Paragraph>
    				<Alignment>0</Alignment>
    				<FirstLineIndent>0</FirstLineIndent>
    				<LeftIndent>0</LeftIndent>
    				<RightIndent>0</RightIndent>
    				<LineSpacing>-0.8</LineSpacing>
    				<TextStyles>
    					<TStyle>
    						<Size>3.5</Size>
    						<StyleInd>3</StyleInd>
    						<PenInd>101</PenInd>
    						<L><![CDATA["<PROJECTNAME>"]]></L>
    					</TStyle>
    				</TextStyles>
    				<Tabulators/>
    			</Paragraph>
    		</Content>
    	</RichText>
    

    Can you tell me what are the possible causes for a parameter index will give you an index number of -1 and how to fix it in the GSM file

  • in reply to: QUESTIONS ABOUT IFC_​PREDEFINEDTYPE GDL PARAMETERS ? #18589

    Nader Belal
    Participant

    Thank you

  • in reply to: Accessories addon #18587

    Nader Belal
    Participant

    @Barry

    There is no GDL scriptor that can deny the possibilities offered by the accessories plugin, that is for sure and we have Graphisoft saying it will only give it minimal maintenance with 0 (zero) options for future development, and I see this also as understandable.

    But, reality checks, since that the possibilities that this plugin offers is big leap forward for object creation, and reality also dictates that the have to be very cautious when making the decision of using such plugin as may be one day Graphisoft will simple stops shipping it, and we have no other option that can substitute it. That is why I was asking (out of my personal ignorance) if there was another way to achieve the same without using the accessories plugin that I’m not aware about.

    Well there may be one, using Grasshopper, so you load the object to Grasshopper (that if the object is not placed on the layout), detect the vertices coordinates, then send it back to another object from Grasshopper (it’s not that simple and not that hard). Which could be seen as something really cool, but not practical for a limited number of objects or objects with limited options and capacities in any project or circumstance.

  • in reply to: Accessories addon #18585

    Nader Belal
    Participant

    Hi Gergely,

    Just a question, if I need to get coordinate data of any element for my library part, to have the same capacity of the accessories, how should we proceed using GDL ??

    Best regards,
    Nader

  • in reply to: QUESTIONS ABOUT IFC_​PREDEFINEDTYPE GDL PARAMETERS ? #18584

    Nader Belal
    Participant

    Hi,

    Péter, the GDL Reference Guide for ArchiCAD 22 & ArchiCAD 23, do have a section for predefined IFC_type integer values and it’s not complete. Anyway, the IFCpredefined type does not.

    The funny parts are that for IFCtype the section have been renovated, while there is nothing mention in any guide, any manual for IFCpredefined types, and there are library parts scripts that defines the value for both.

    So my questions are:
    1. Do Graphisoft intends to continue the use of these integer parameters or not ?
    2. Where can I consult the integer values for IFCpredefined types ?

  • in reply to: Accessories addon #18577

    Nader Belal
    Participant

    Adding my two cents,

    I see that Graphisoft is on a difficult road fork related to GDL accessories and legacy code, in one part I like the idea of the ability to extract info from AC using GDL and not API (since it’s difficult and we lack a manual for people with null experience as myself) and on the other part I understand GS stance of not investing in legacy code for the inconvenience that it may pose.

    What if GS, made a renovated accessories code, something that is built from the ground up, and giving your clients the possibility to migrate their GDL objects from the old legacy code to the new code ?

  • in reply to: Getting the size of a loaded picture #18570

    Nader Belal
    Participant

    @Péter Baksa

    Thank you, but I don’t think that will solve my issue.

    I will explain why I have asked for it:
    I had to script a special title block, for layouts consistency, data extraction from the model and above all, to prevent users from messing thinks up.

    So one of the requirements was that the logo of the designer can be loaded to the title block object, and I have found out:
    1. Picture2 & Picture2{2} masking values do not have the same power of Picture.
    2. You can’t extract bitmap’s size even when it’s already loaded to the project’s library (for scaling and positioning purposes).

    Don’t worry, I have already solved it by another way, (fixing a standard size in pixels and telling users to user the multiple of that size).

    Anyway, I have put a request for a Picture2{3} here
    https://archicad-talk.graphisoft.com/viewtopic.php?f=6&t=69101&p=307027#p307027

    Thank you.

  • in reply to: UI pictures – which format is the fastest #18565

    Nader Belal
    Participant

    May be size

  • in reply to: MEP INLINE OBJECT WITH 3 CONNECTIONS INSTEAD OF 2 #4877

    Nader Belal
    Participant

    Hi everyone,

    I just found out the answer, inline MEP objects are conceived to only have 2 connections only.

    So the answer is, either you make it an equipment or ignore the third connection

  • in reply to: Solid ops and subroutines #4782

    Nader Belal
    Participant

    My 2 cents,

    This group structure is neither nice, nor clean, and it may cause a lot of confusion when the times arrives for code maintenance, all because the followed structure.

    My solution

    
    gosub 100
    
    bla ... bla ... bla
    
    end
    
    100:
    
    GROUP ‘things’
    	etc
    ENDGROUP
    
    if something then
    	GROUP ‘foo’
    		etc
    	ENDGROUP
    
    	GROUP ‘bar’
    		etc
    	ENDGROUP
    end
    
    ! -- Group placements --------------- 
    
    if nothing then
    	placegroup ‘things’
    
    	killgroup ‘things’
    end
    
    if something then
    	placegroup subgroup (addgroup (‘foo’, ’bar’), ‘things’)
    
    	killgroup ‘things’
    	killgroup ‘foo’
    	killgroup ‘bar’
    end
    
    return
    
  • in reply to: Where to download ArchiCAD Tools Standard Icons? #4779

    Nader Belal
    Participant

    Thanks Péter

  • in reply to: TUBE twisting #4728

    Nader Belal
    Participant

    @Péter Baksa,

    I need to ask a question regarding tube{2} and this macro.

    How can use an inline defined material with tube{2} and this macro ?

Viewing 15 posts - 1 through 15 (of 30 total)