Answers.Body: <p>Only thing I can think of is to write the ID in a text file manually and use the file block to read the ID.
  To do that: Use an application like notepad++ to create the text file. Make sure the line endings are just a newline character, not the carriage return.
  Save the file with .rtf as extension.
  Use the memory browser in the EV3 software to upload the file to the brick in the project folder of your program...
  Alternatively, modify your program temporarily to write the ID first to file (manually select the value in a File block...), don't forget to close the file (second file block).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-20T22:32:14.140Z
Answers.Text: I want to give this block to another person. And I also want this block, doesn't work in another bricks
Answers.UserDisplayName: mahdi
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-22T08:55:24.010Z
Answers.Text: I don't think what you wish to accomplish is possible in EV3-g. There are other programming languages / environments (e.g. LeJos, ev3dev) where this task would be trivial.
Answers.UserDisplayName: Michael Verschaeve
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-09-19T17:48:34.053Z
Answers.Text: This is the correct answer. There's no way to accomplish this task using EV3-G blocks.
Answers.UserDisplayName: MindS1
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-20T21:24:07.973Z
Answers.LastActivityDate: 2018-05-20T21:24:07.973Z
Answers.UserDisplayName: Michael Verschaeve
Body: <p>How can I access the brick ID ( or brick information) in ev3-g?</p>
  
  <p><a href="https://i.sstatic.net/Apt94.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Apt94.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-20T13:20:15.890Z
Comments.Text: I don't think this identifier is used anywhere in the EV3 software or EV3-G programming language. Can you tell us why you would need it? Perhaps we can offer other suggestions... Note that you can give your brick a name in the hardware tab of your project (bottom-right)...
Comments.UserDisplayName: Michael Verschaeve
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-05-20T14:29:13.990Z
Comments.Text: I want to make a block that works only in a specified brick.
Comments.UserDisplayName: mahdi
Tags: <ev3><ev3-g>
Title: How can I access the brick id in ev3-g?
UserDisplayName: mahdi
ThreadText: # How can I access the brick id in ev3-g?
  
  (Asked by: username_0 on 2018-05-20)
  
  How can I access the brick ID ( or brick information) in ev3-g?
  
  [![enter image description here](https://i.sstatic.net/Apt94.png)](https://i.sstatic.net/Apt94.png)
  
  **Tags:** ev3, ev3-g
  > **Comments:**
  > **username_1**: I don't think this identifier is used anywhere in the EV3 software or EV3-G programming language. Can you tell us why you would need it? Perhaps we can offer other suggestions... Note that you can give your brick a name in the hardware tab of your project (bottom-right)...  
  > **username_0**: I want to make a block that works only in a specified brick.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-05-20. Score: 2
  
  Only thing I can think of is to write the ID in a text file manually and use the file block to read the ID.
  To do that: Use an application like notepad++ to create the text file. Make sure the line endings are just a newline character, not the carriage return.
  Save the file with .rtf as extension.
  Use the memory browser in the EV3 software to upload the file to the brick in the project folder of your program...
  Alternatively, modify your program temporarily to write the ID first to file (manually select the value in a File block...), don't forget to close the file (second file block).
  
  > **Comments:**
  > **username_0**: I want to give this block to another person. And I also want this block, doesn't work in another bricks  
  > **username_1**: I don't think what you wish to accomplish is possible in EV3-g. There are other programming languages / environments (e.g. LeJos, ev3dev) where this task would be trivial.  
  > **username_2**: This is the correct answer. There's no way to accomplish this task using EV3-G blocks.  
  
  ---
  
  