API access to surface pattern alignment

API access to surface pattern alignment

Anonymous
Not applicable
1,488 Views
2 Replies
Message 1 of 3

API access to surface pattern alignment

Anonymous
Not applicable

I have a model requiring specific alignment of surface pattern across the entire model. I've done it manually more than once, and locked the reference to a datum (reference plane) but this constraint does not hold when I modify elements. I'd like a programmatic way to re-align every instance of this surface pattern to the reference datum. Conceptually:

 

 

datum = referenceLevel.elevation()

for element in elements:
   faces = element.faces()
   for face in faces:
      if face.material = targetMaterial :
         material.zOrigin = datum

 

1,489 Views
2 Replies
Replies (2)
Message 2 of 3

Dale.Bartlett
Collaborator
Collaborator
0 Likes
Message 3 of 3

jeremytammik
Autodesk
Autodesk

Dear Chris,

 

Thank you for your query.

 

I hope the thread that Dale pointed to was of some use. Thank you, Dale, for pointing it out!

 

I added a note of your request to the existing wish list item CF-3928 [case 11459435: API ability to align floor hatch line with floor's edge] in order to make the development team aware of its importance. Please make a note of this number for future reference.

 

You are welcome to request an update on the status of this issue or to provide us with additional information at any time quoting this wish list item number.

 

This issue is important to me. What can I do to help?

 

This issue needs to be assessed by our engineering team, and prioritised against all of the other outstanding change requests. Any information that you can provide to influence this assessment will help. Please provide the following where possible:

 

  • Impact on your application and/or your development.
  • The number of users affected.
  • The potential revenue impact to you.
  • The potential revenue impact to Autodesk.
  • Realistic timescale over which a fix would help you.
  • In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.

 

This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact items. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder